Maggie bought c CDs for $12 each, b books for $7 each, and a purse costing $24.

a. Write an expression to show the total amount of money Maggie spent.

b. If Maggie bought 4 CDs and 3 books, how much money did she spend?