Wang Jing's family wants to buy a dining table for six people. The table is 840 yuan, and the chair is 84 yuan. How much does Wang Jing's family have to pay in total?
王晶家要买一套六人坐的餐桌，桌子840元，椅子84元一把，王晶家一共要付多少钱？
<gadget id="calculator">84 * 6</gadget>
<output>504</output>

<gadget id="calculator">840 + 504</gadget>
<output>1_344</output>

<result>1_344</result>