David had 2 bags of marbles. After he had sold 44 marbles from Bag X to his friend, the number of marbles in Bag Y was 5/7 of the number of marbles in Bag X. Given that there were 2/5 as many marbles in Bag Y as in Bag X originally, find the number of marbles in Bag X at first?
Let no of Marbles originally in Bag X was (x)
So in Bag Y was 'y'
given: y = 5/7 (x - 44) ---- (1)
also y = 2/5x ---- (2)
using Eq (1) and (2)
2/5x = 5/7x (x - 44)
=> 14x = 25 (x - 44)
=> 14x = 25x - 25 * 44
=> 1100 = 25x - 14x
=> 11x = 1100
=> x = 1100/11
=> x = 100
Original in Bag X there were 100 marbles