There are 10 questions in a math test, 5 points are awarded for each correct question, and 2 points are deducted for each wrong question. Xiao Ming has completed all 10 questions, and a total of 36 points is awarded. How many questions did Xiao Ming get right?
一次数学测验共10道题，每做对一道得5分，做错一道题目扣2分，小明完成了全部的10道题，共得36分，小明做对了多少道题．
<gadget id="calculator">10 * 5</gadget>
<output>50</output>

<gadget id="calculator">50 - 36</gadget>
<output>14</output>

<gadget id="calculator">5 + 2</gadget>
<output>7</output>

<gadget id="calculator">14 / 7</gadget>
<output>2</output>

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

<result>8</result>