Let Number of marbles in bag X
and number of marbles in Bag Y
According to the question,
After David sold 44 marbles in Bag X =
Now,
put the value
in the above equation
we get
cross multiplication,
Hence, the marbles numbers = 100