For example, we could use y = price in dollars, x = gas in gallons, and a constant of proportionality k to represent the amount of money you have to pay at the gas station y = kx. In other words, the price you pay is in direct proportion to the gallons pumped.