You do not owe anything. In fact, they owe you $1.35 back in change.
To find this, first we have to find the cost of your gas. You can get this by multiplying the rate by the amount of gallons.
15.75gals * $2.39 = $37.65
As a result, we can see that the $39 would cover the entire cost with change.