You can
put this solution on YOUR website!Number of bags containing lemon drops = x
=> Number of bags containing jelly beans = x+4
Cost of lemon drops = 45x
Cost of jelly beans = 35(x+4)
Total cost = 300
=> 45x+35(x+4) = 300
=> 45x+35x+140 = 300
=> 80x = 160
=> x=2
Answer: You got the answer correct.