Phillip bought 12 used CDs and DVDs. CDs cost $2 each, and DVDs cost $3 each. He spent $31, not including tax. How many DVDs did Phillip buy?

Respuesta :

So he bought 12 CDs and DVDs (in total), CDs + DVDs = 12

Each cd is 2 and each cd is 3

Total spent = 31 (2*x + 3*y)

I call x cds and y dvds

x+y = 12

2x+3y = 31

Solve for y

Move x to the right with changed sign

y = 12-x (DVDs, you can also write x = 12-y)

And substitute 12-y in the equation

2x + 3(12-x) = 31

2x + 36 - 3x = 31

2x - 3x = 31 - 36

-x = -5

x = 5 (CDs)

To find DVDs let's rewrite y = 12-x

y = 12-5 = 7 (DVDs)

He got 7 dvds, answer is c on flvs