On Teacher's Day, Teacher Li went shopping in the mall. He bought a pair of socks for 5 yuan, bought a hat for 2 yuan more than twice the price of the socks, and bought leather shoes for 5 yuan less than 10 times the price of the hat. At the time of payment, each product was discounted by 2 yuan with the teacher's certificate. How much did Mr. Li actually pay for shopping?
教师节那天，李老师到商场购物．他买了一双袜子用了5元，买帽子的钱比袜子价钱的2倍多2元，买皮鞋的钱比帽子价钱的10倍少5元．付款时凭教师证每件商品优惠了2元，李老师买东西实际付了多少元钱？
<gadget id="calculator">2 * 5</gadget>
<output>10</output>

<gadget id="calculator">10 + 2</gadget>
<output>12</output>

<gadget id="calculator">12 * 10</gadget>
<output>120</output>

<gadget id="calculator">120 - 5</gadget>
<output>115</output>

<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<gadget id="calculator">115 - 6</gadget>
<output>109</output>

<gadget id="calculator">5 + 12 + 109</gadget>
<output>126</output>

<result>126</result>