Teacher Wang took the train from Shanghai to Beijing. When the train left the whole distance (1/4), he fell asleep. When he woke up, he found that the rest of the distance was the distance traveled before going to bed (2/3). When the train travels the whole distance ((())/(())).
王老师坐火车从上海去北京，火车开出全程的(1/4)时，他睡着了，醒来时，他发现剩下的路程是睡前所行路程的(2/3)，这时火车行驶了全程的((())/(()))．
<gadget id="calculator">1 / 4</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">2 / 3</gadget>
<output>2/3 = around 0.666667</output>

<gadget id="calculator">(1/4) * (2/3)</gadget>
<output>1/6 = around 0.166667</output>

<gadget id="calculator">1 - (1/6)</gadget>
<output>5/6 = around 0.833333</output>

<result>5/6 = around 0.833333</result>