Xiaoqiang participated in the mathematics competition. There were 8 questions in total. He got 8 points for each question he got right, and 5 points were deducted for every wrong question. Xiaoqiang finally got 38 points. How many questions did he get right?
小强参加数学竞赛，共有8道题，每做对一道题得8分，每做错一道题倒扣5分，小强最后得38分，问他做对了几道题？
<gadget id="calculator">8 * 8</gadget>
<output>64</output>

<gadget id="calculator">64 - 38</gadget>
<output>26</output>

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

<gadget id="calculator">26 / 13</gadget>
<output>2</output>

<gadget id="calculator">8 - 2</gadget>
<output>6</output>

<result>6</result>