First I would write a balanced chemical equation for the total combustion of citric acid. Since you are given data per mole (enthalpy of combustion), you have to scale it down because you only have 10 g of citric acid using molar mass. (You've already done this)
Now, there are three equations to use.
dU = dq + dw
dH = dU + d(pV)
dw = -pdV
These are differential equations which you have to integrate. For example, to get work, you have to integrate the third equation. For this problem, though, you won't have to worry about that. You can rewrite the second equation as
dH = dU + pdV + vdP
= dq + dw + pdV + vdP
= dq - pdV + pdV + vdP
= dq + vdP
Use this to figure out the rest of part i. Part ii follows from this, except that pressure is not constant. Although the initial and final pressures are not given, you can solve this problem as long as you make one assumption about the behavior of the gases. The volume of the solid can be treated as negligible compared to that of the gases.