Terry bakes bread. He uses the equation 3x?18=y to find the profit, y, in dollars. He paid $18 for supplies and earns $3 for each loaf he sells. What does x represent?