A bag contains x marbles,1\2 of the marbles were red,1\d were blue and the rest were yellow write down expressions for the quantity of red marbles the quantity of blue marbles and the quantity of yellow marbles

x/2 red

x/d blue

x - x/2 - x/d = x(1/2 - 1/d) yellow