When Mr. Wang went to the bank to withdraw money, the first time he withdrew half of the deposit was an extra 5 yuan, and the second time he withdrew the remaining half was an extra 10 yuan. At this time, there was 125 yuan left in the passbook. How much did he have in savings?
王老师到银行取款，第一次取了存款的一半还多5元，，第二次取了余下的一半还多10元．这时存折上还剩125元．他原有存款多少元？
<gadget id="calculator">125 + 10</gadget>
<output>135</output>

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">135 / (1/2)</gadget>
<output>270</output>

<gadget id="calculator">270 + 5</gadget>
<output>275</output>

<gadget id="calculator">275 / (1/2)</gadget>
<output>550</output>

<result>550</result>