Write a linear equation that represents the amount of candy that David bought and the money that he spent. Use x for the price of a chocolate bar and y for the cost of a lollipop.

1 answer

The linear equation representing the amount of candy David bought and the money he spent is:

y = x + 2

where:
y = cost of lollipop
x = price of chocolate bar

In this equation, David bought 1 chocolate bar and 1 lollipop, so the cost of the lollipop is x (the price of a chocolate bar) plus 2.