The answer is approximately 11.18.
The graph of y > mx, where m > 0, consists of a dashed line and a shaded half plane. The line has a positive slope and passes through the origin. The shaded half plane is above the line.
We solve the equation (1/6)x + 14 = (3/4)x, where x is the number of gallons;
We have 2x/12 + 168/12 = 9x/12;
2x + 168 = 9x;
168 = 7x;
x = 168 ÷ 7;
x = 24 gallons;
Answer:
The smallest value of p+q is 11
It happens when p = 6 and q = 5.
=======================================================
Explanation:
Let's factor 180 in such a way that exactly one factor is a perfect square.
I'll ignore the trivial factor of 1.
Here are the possible factorizations we could go with:
180 = 4*45
180 = 9*20
180 = 36*5
Those factorizations then lead to the following

Then we have
p+q = 2+45 = 47
p+q = 3+20 = 23
p+q = 6+5 = 11
The smallest value of p+q is 11 and it happens when p = 6 and q = 5.
Side note: p+q is smallest when we go with the largest perfect square factor.