The cash register in the school canteen contains x quarters and (30 - x ) dimes. If the total value is $5.85, how many of each kind of coin are there?

x = number of quarters

30 - x = number of dimes

25x + 10(30 - x) = 585 {value of coin times number of coins equals total value}

25x + 300 - 10x = 585 {used distributive property}

15x + 300 = 585 {combined like terms}

15x = 285 {subtracted 300 from both sides}

x = 19 {divided both sides by 15}

30 - x = 11 {substituted 19, in for x, into 30 - x}

**19 quarters and 11 dimes**

**© Algebra House**