Answer:
8
Step-by-step explanation:
Let's say that the amount of lollipops Lydia buys is represented by x and the number of candy bars is represented by y. For each x, Lydia spends 0.50, and for each y, Lydia spends 1.50. This means that the total amount she spends can be represented by the equation 0.50*x+1.50*y. Our equation is then 0.50*x+1.50*y=15
Using our equation, we can plug 6 in for x, resulting in 0.50*6+1.50*y=15, so [tex]0.50x+1.50y=15\\0.5(6)+1.50y=15\\3+1.50y=15\\1.50y=12\\y=8[/tex]
In this set of equations, we plugged 6 in, multiplied it out, then subtracted 3 from both sides, and finally divided both sides by 1.50 to get 8 as our answer.