Answer:
In the picture above.
Step-by-step explanation:
Using some identities for solution
I hope that it's a clear solution.
Answer is C as all other choices are even numbers therefore make the equation non-integer.
Count the distance d, which gives you 7.
Use Pythogarean theorem to find c:

Plug in the numbers:

c is 5.
Same thing with g:

g equals 5.66.
x = # of miles
$59.31 = $31 + $0.19x
Subtract $31 from both sides
$28.31 = $0.19x
Divide both sides by $0.19
149 = x
Juan drove 149 miles