The number of bottles of soda purchased is 10 and the number of bottles of juice purchased is 4.
Explanation:
Let us consider the soda bottles as x and juice bottles as y.
From the given data we can derive 2 equations,
35x+15y= 410. .....(1)
x=y+6. ....(2)
Substitute equation (2) in (1),
35(y+6)+15y=410.
35y+ 210+15y=410.
50y+210=410.
50y=410-210.
50y=200.
y=4.
Substitute y value in equation (2),
x=4+6.
x=10.
The number of bottles of soda purchased is 10 and the number of bottles of juice purchased is 4.