What you need to do is multiply both sides by the same number. If 8 times 6 is 48, then 7 times 6 is your answer.
Find the Least Common Denominator (LCD) which is 28.
-1/4 (7) = -7/28
-3/7 (4) = -12/28
-7 - 12 = -19
-19/28
Simplify if you can.
Identify the slope, m. This can be done by calculating the slope between two known points of the line using the slope formula.
Find the y-intercept. This can be done by substituting the slope and the coordinates of a point (x, y) on the line in the slope-intercept formula and then solve for b.
18 = 2·3·3
So possibles prisms are:
2×3×3
1×2×9
1×6×3
1×1×18
Therefore Quentin can make 4 different rectangular prism with 18 unit cubes.
About 9 gallons (average)