A store sells a 1-liter container of juice for 75¢ and a 2-liter container for $1.40. Assume that the cost varies linearly with the number of liters, and find the slope of the line that shows the relationship. How many liters would be in a container that cost $3.35?

I know that I need to assume the Cost is y (in cents) and the number of liters is x.
75 = m + b
140 = 2m + b
but I don't know how to find how many liters would be in a container that cost $3.35?

1 answer

treat your data as two ordered pairs (1,75) and (2,140)
slope = (140-75)/(2-1) = 65/1

So Cost = 65L + b
using (1,75)
75 = 65(1) + b
b = 10

cost equation:
C = 65L + 10

(I guess you can buy an empty carton for 10 cents, lol)

so if C = 335
335 = 65L + 10
65L = 325
L = 5