To find out how much Jamie spent on gas, you can multiply the number of gallons by the price per gallon:
\[ \text{Total Cost} = \text{Number of Gallons} \times \text{Price per Gallon} \]
Substituting the values:
\[ \text{Total Cost} = 17 \text{ gallons} \times 2.79 \text{ dollars/gallon} \]
Now, perform the multiplication:
\[ 17 \times 2.79 = 47.43 \]
Thus, Jamie spent $47.43 on gas.
The correct answer is:
D. $47.43