Barry and his friend, Jim, went horseback riding across central Texas. They traveled at 5 miles per hour for 7 hours, and then stopped for the evening.  The next day, they traveled at 6 miles per hour for 6 hours, and then at half that speed for another three hours, before stopping to rest for the night.  On the third and final day, they traveled for 5 hours at 7 miles per hour.  In total, how far did they travel, in miles, during their horseback riding trip?
On the first day, they traveled 5*7=
<gadget id="calculator">5*7</gadget>
<output>35</output>
35 miles.
On the first part of the second day, they traveled 6*6=
<gadget id="calculator">6*6</gadget>
<output>36</output>
36 miles.
The second part of the second day, at half their morning speed, they traveled (6/2)*3=
<gadget id="calculator">6/2*3</gadget>
<output>9</output>
9 miles.
On the final day, they traveled 5*7=
<gadget id="calculator">5*7</gadget>
<output>35</output>
35 miles.
In total, they traveled 35+36+9+35=
<gadget id="calculator">35+36+9+35</gadget>
<output>115</output>
115 miles.

<result>115</result>