The average score of Xiao Ming's three homework tests is 94 points, and the average score of Chinese and foreign language is 2 points lower than the average score of the three homework. How much did Xiao Ming score in the math test?
小明三门功课考试平均成绩是94分，语文、外语两门功课的平均成绩要比三门功课的平均成绩低2分．小明数学考了多少分？
<gadget id="calculator">94 * 3</gadget>
<output>282</output>

<gadget id="calculator">94 - 2</gadget>
<output>92</output>

<gadget id="calculator">92 * 2</gadget>
<output>184</output>

<gadget id="calculator">282 - 184</gadget>
<output>98</output>

<result>98</result>