A bus travels 360 kilometers from place A to place B in 4 hours, and it is 540 kilometers away from place B. According to this calculation, how many hours does it take for this bus to travel from A to B?
一辆客车从甲地开往乙地，4小时行360千米，离乙地还有540千米．照这样计算，这辆客车从甲地到乙地共需几小时？
<gadget id="calculator">360 + 540</gadget>
<output>900</output>

<gadget id="calculator">360 / 4</gadget>
<output>90</output>

<gadget id="calculator">900 / 90</gadget>
<output>10</output>

<result>10</result>