For a manuscript, A takes 12 hours to type alone, B alone takes 6 hours to type, and A and B work together for 2 hours to type 36 pages in total. How many pages does A type when completing the task?
一份稿件，甲单独打要12小时，乙单独打要6小时，甲、乙合干2小时共打36页，完成任务时甲打了多少页？
<gadget id="calculator">1 / 12</gadget>
<output>1/12 = around 0.083333</output>

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

<gadget id="calculator">(1/12) + (1/6)</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">(1/4) * 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">36 / (1/2)</gadget>
<output>72</output>

<gadget id="calculator">1 / (1/4)</gadget>
<output>4</output>

<gadget id="calculator">72 * 4 * (1/12)</gadget>
<output>24</output>

<result>24</result>