Originally Posted by

**night86mare**
simple simultaneous equation.

assume jim buys c chocolates, ken buys s sweets.

at the end, jim will have c/2 chocolates, ken will have c/2 - 18 chocolates

at the end, jim will have s/2 -12 sweets, ken will have s/2 sweets

c/2 = 7(s/2 - 12) = 7s/2 - 84 --- (1)

c/2 - 18 = 4(s/2) = 2s --- (2)

from (2): c/2 = 2s + 18 --- (3)

sub (3) into (1)

2s + 18 = 7s/2 - 84

so 102 = 3/2 s

s = 68

c = 308

checked the answer is correct;

jim has 154 chocolates, ken has 154- 18 = 136 chocolates

ken will have 34 sweets, jim will have 22 sweets

154/22 = 7

136/34 = 4

QED

## Bookmarks