Solve the equation: 40x=2(x+30.5)+15.
解方程：40x=2(x+30.5)+15．
<gadget id="calculator">2 * 30.5</gadget>
<output>61</output>

<gadget id="calculator">61 + 15</gadget>
<output>76</output>

<gadget id="calculator">40 - 2</gadget>
<output>38</output>

<gadget id="calculator">76 / 38</gadget>
<output>2</output>

<result>2</result>