Jefferson hires a carriage to go to the church.  It is 20 miles away.  The horse can go 10 miles per hour.  It cost $30 per hour plus a flat fee of $20.  How much did he pay for the carriage?
He paid for 20/10=
<gadget id="calculator">20/10</gadget>
<output>2</output>
2 hours.
That means the hourly fee was 30*2=$
<gadget id="calculator">30*2</gadget>
<output>60</output>
60.
So the total cost was 60+20=$
<gadget id="calculator">60+20</gadget>
<output>80</output>
80.

<result>80</result>