Hello there. To solve this question, we have to remember some properties about proportionality,
Given that the revenue R varies directly with the number g of gallons of gas sold, we know that they follow the equation

where k is the proportionality constant.
We know that when the number of gallons sold is 10, then the revenue is $36.
With this, we can determine the constant k:
Plugging the values, we get

Divide both sides of the equation by a factor of 10

Hence the equation turns into

To determine what will be the revenue R when the number of gallons sold is 15.5, the linear equation is simply:
