3. A vending machine that only accepts dimes and quarters contains 36 coins totaling $7.20. How many of each coin does the machine contain?

number of dimes --- x

number of quarters ---- 36-x

10x + 25(36-x) = 720

solve for x