A train departs from Shanghai to Tianjin, and when it reaches (3/5) of the whole city, it travels exactly 795 kilometers. How many kilometers is the railway from Shanghai to Tianjin?
一列火车从上海开往天津，行驶到全城的(3/5)时，恰好行了795千米的路程．上海到天津的铁路长多少千米？
<gadget id="calculator">3 / 5</gadget>
<output>3/5 = around 0.6</output>

<gadget id="calculator">795 / (3/5)</gadget>
<output>1_325</output>

<result>1_325</result>