A train departs from point A to point B at 8:00 am. It is 180 kilometers away from point A at 10:00 am. It is known that the distance between A and B is 540 kilometers. How many hours will it take to complete the journey?
一列火车上午8时从A地出发开往B地，上午10时距A地180千米，已知AB两地相距540千米，行完全程共要几小时？
<gadget id="calculator">540 - 180</gadget>
<output>360</output>

<gadget id="calculator">10 - 8</gadget>
<output>2</output>

<gadget id="calculator">360 / 2</gadget>
<output>180</output>

<gadget id="calculator">540 / 180</gadget>
<output>3</output>

<result>3</result>