Answer
$d\div g$
Work Step by Step
When the question asks us to find price per gallon, we are trying to find the number of dollars per gallon. The word "per" tells us that we should divide the quantity of dollars by the quantity of gallons, giving us $d\div g$