Trevor needs to go downtown for a restaurant date. An Uber ride downtown costs $3 more than a Lyft ride. A Lyft ride costs $4 more than a taxi ride. The Uber ride costs $22. If Trevor takes a taxi downtown and tips the taxi driver 20% of the original cost of the ride, what is the total cost of the ride downtown?
The cost of the Lyft ride is $22 - $3 = $
<gadget id="calculator">22-3</gadget>
<output>19</output>
19.
The original cost of the taxi ride is $19 - $4 = $
<gadget id="calculator">19-4</gadget>
<output>15</output>
15.
Trevor tips the taxi driver $15 * 0.20 = $
<gadget id="calculator">15*0.20</gadget>
<output>3</output>
3.
The total cost of the ride downtown is $15 + $3 = $
<gadget id="calculator">15+3</gadget>
<output>18</output>
18.

<result>18</result>