The total price is
[tex]4+0.2x+1.40y[/tex]
where x is the number of minutes and y is the number of miles.
We know that the number of minutes was three times the number of
miles, i.e. x=3y. This changes our expression into
[tex]4+0.2\cdot 3y+1.40y=4+0.6y+1.40y=4+1.46y[/tex]
We also know that the total cost was 14, so we have
[tex]14=4+1.46y\iff 1.46y=10 \iff y=\dfrac{10}{1.46}\approx 6.85[/tex]
And since the number of minutes was three times the number of miles, it is
[tex]3\cdot 6.85=20.55[/tex]