It took (1/2) hour to write the diary when I came home from school, and it took (1/6) less to write the math homework than to write the diary. How long did it take to write the math homework?
明明放学回家，写日记用了(1/2)小时，写数学作业比写日记少用了(1/6)小时，明明写数学作业用了多长时间？
<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">1 / 6</gadget>
<output>1/6 = around 0.166667</output>

<gadget id="calculator">(1/2) - (1/6)</gadget>
<output>1/3 = around 0.333333</output>

<result>1/3 = around 0.333333</result>