First, you need to know the coordinates of the points:
If x is 9 stacked bins to the y of 41 inches, the first point is (9,41)
From there, you can determine the other point: (4,26)
Find the slope by subtraction using the formula: y2-y1/x2-x1
(41-26)/(9-4)
15/5
slope is 3
y=3x+b
To find b, substitute one point into the equation. I will use (4,26)
26=3(4)+b
26=12+b
-12 -12
b=14
Your final equation is:
y=3x + 14