The two cities A and B are 300 kilometers apart. It takes 5 hours to travel by motorcycle and 25 hours by bicycle. Wang Liang starts from City A and rides a bicycle for 5 hours first, and then changes to a motorcycle. How many hours did it take him to go from city A to city B?
A、B两城相距300千米，摩托车行完全程要5小时，自行车要25小时，王亮从A城出发，先骑自行车5小时，后改骑摩托车．他从A城到B城共用了多少小时．
<gadget id="calculator">300 / 25</gadget>
<output>12</output>

<gadget id="calculator">12 * 5</gadget>
<output>60</output>

<gadget id="calculator">300 - 60</gadget>
<output>240</output>

<gadget id="calculator">300 / 5</gadget>
<output>60</output>

<gadget id="calculator">240 / 60</gadget>
<output>4</output>

<gadget id="calculator">4 + 5</gadget>
<output>9</output>

<result>9</result>