Mom bought a set of clothes. It is known that the price ratio of the jacket to the trousers is 5:3. The jacket is 40 yuan more expensive than the trousers. How much did the mother spend on buying the suit?
妈妈买了一套衣服，已知上衣与裤子的价格的比是5：3，上衣比裤子贵40元，妈妈买这套衣服用去了多少元？
<gadget id="calculator">5 - 3</gadget>
<output>2</output>

<gadget id="calculator">40 / 2</gadget>
<output>20</output>

<gadget id="calculator">5 + 3</gadget>
<output>8</output>

<gadget id="calculator">20 * 8</gadget>
<output>160</output>

<result>160</result>