Answer:x=5
Step-by-step explanation:
Total number of soda cans and water bottles = 36+15=51
Number of soda cans = ratio of soda cans/total ratio × Total number of soda cans and water bottles
Number of soda cans,
36 = 12/(x+12) ×51---------1
36(x+12) =12×51
36x+432 = 612
36x = 612-432=180
x = 180/36
x = 5
You can also use
15 = x/x+12 ×51
15(x+12) = 51x
15x + 180 =51x
180 = 51-15= 36x
36x = 180
x = 180/36 =5