Oleg, Sasha, and Dima shared 600 toys. Sasha had twice as many toys as Oleg. Dima had 40 more toys than Oleg.
Let the number of toys Oleg has = x
Let the number of toys Sasha has = y
Let the number of toys Dima has = z
Sasha had twice as many toys as Oleg
So y = 2*x= 2x
Dima had 40 more toys than Oleg.
z = x + 40
Oleg, Sasha, and Dima shared 600 toys
x + y + z= 600
We know y=2x and z=x+40
Replace it for y and z
[tex] x + y + z = 600 [/tex]
[tex] x + 2x + x + 40 = 600 [/tex]
[tex] 4x + 40 = 600 [/tex]
Subtract 40 on both sides
[tex] 4x = 600 - 40 [/tex]
Divide by 4 on both sides
[tex] x = \frac{560}{4} = 140 [/tex]
Oleg had 140 toys