Xiaoqiang and Xiaogang practiced shooting. Xiaogang scored 18 goals. Xiaoqiang scored 2 times less than Xiaogang. How many goals did they score in total?
小强和小刚练习投球射门，小刚射进了18个球，小强射进的球比小刚2倍少2个，他们俩一共射进了多少个球．
<gadget id="calculator">18 * 2</gadget>
<output>36</output>

<gadget id="calculator">36 - 2</gadget>
<output>34</output>

<gadget id="calculator">34 + 18</gadget>
<output>52</output>

<result>52</result>