Given:
James bought 22 candy bars for $137.
If the king size candy bars cost $8 and a regular size candy bar cost $5.
To find:
The system of equation and solution of it.
Solution:
Let x be the number of king size candy and y be the number of regular size candy.
Quantity:
...(i)
Cost :
...(ii)
Multiply the equation (i) by 5.
...(iii)
Subtract (iii) from (ii).



Put x=9 in (i).



Therefore, number of king size candy is 9 and number of regular size candy is 13.