The number of sweets in Container X was 24 more than Container Y. When I removed 42 sweets from Container X and transfered then in Container Y,the number of sweets in Container Y became thrice of Container X. Find the number of sweets in Container X first.

1 answer

x = The number of sweets in container x

y = The number of sweets in Container y


x = 24 + y

OR

y = x - 24

When you removed 42 sweets from container x then numers of sweets in container x became: x - 42

Numbers of sweets in container y became: y + 42 = thrice of ( x - 42 ) = 3 ( x - 42 )

y + 42 = 3 ( x - 42 )

Remark : y = x - 24

( x - 24 ) + 42 = 3 ( x - 42 )

x - 24 + 42 = 3 * x - 3 * 42

x + 18 = 3 x - 126

18 + 126 = 3 x - x

144 = 2 x

2 x = 144 Divide both sides by 2

x = 144 / 2

x = 72

y = x - 24

y = 72 - 24

y = 48

Cheking :

x - 42 = 72 - 42 = 30

y + 42 = 48 + 42 = 90

90 / 30 = 3