To express the relationship of the cost of gas in a proportion, you can set it up as follows:
You know that 15 gallons of gas costs $45. We can write this as a fraction:
\[ \frac{15 \text{ gallons}}{45 \text{ dollars}} \]
Now, we want to find the cost (represented by \( x \)) of 5 gallons of gas. This can also be written as:
\[ \frac{5 \text{ gallons}}{x \text{ dollars}} \]
Now, we can set up the proportion:
\[ \frac{15}{45} = \frac{5}{x} \]
This proportion states that the ratio of gallons to cost remains constant.