Given:
Charge per mile is $3 plus $4 a fixed charge for the tip.
Let, x denote the number of mile.
The given data can be written in the form of equation as,
[tex]C=3x+4[/tex]Given that, tourist pays $43 for a cab ride.
[tex]\begin{gathered} 43=3x+4 \\ 43-4=3x \\ x=\frac{39}{3} \\ x=13 \end{gathered}[/tex]The cab ride was 13 miles.