Let p be the price in cents.
45p = 50(p-10) (left side is what he can do, right side is "what if" the price were lower. 50 cars is 5 more than 45 cars.)
45p = 50p - 500 (multiply it out)
-5p = -500 (subtract 50p from both sides)
p = 100 (divide both sides by -5)
45p = 4500 (this is the amount Matthew has, in cents)
Matthew has $45.00 he can spend on cars.
45p = 50(p-10) (left side is what he can do, right side is "what if" the price were lower. 50 cars is 5 more than 45 cars.)
45p = 50p - 500 (multiply it out)
-5p = -500 (subtract 50p from both sides)
p = 100 (divide both sides by -5)
45p = 4500 (this is the amount Matthew has, in cents)
Matthew has $45.00 he can spend on cars.