1 gallon=8 pints
2 gallons=16 pints
Answer:
Slope: 
y-intercept: 0
Step-by-step explanation:
First, find the slope. Use two points given to you. In this case, I will use the following:
(x₁ , y₁) = (2 , 5)
(x₂ , y₂) = (4 , 10)
Use the following equation:
slope (m) = 
Plug in the corresponding numbers to the corresponding variables:
slope (m) =
= 
Note the slope intercept form:
y = mx + b
y = (x , y)
m = slope
x = (x , y)
b = y-intercept
Plug in the slope into m for the equation:

Choose a point to use to find b. In this case, I will use (2 , 5). Plug in 2 for x, and 5 for y:

Simplify. Isolate the variable, b. Note the equal sign, what you do to one side, you do to the other:

Y-intercept: 0
X=5/6
(x-1)+x+(x+1)=5/2
x-1+x+x+1=5/2
combine
3x=5/2
divide by 3
x=5/2*1/3
x=5/6