(b) Work done at constant pressure is
$\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ W = p\ \mathrm{\Delta}V = nR\ \mathrm{\Delta}T$
Where p is presure, $\mathrm{\Delta}V$ the volume change, R the gas constant, $\mathrm{\Delta}T$ the change in temperature and n the number of moles.
Given, n=1, $T_{2} = 127℃ = 400K,$
$T_{1} = 27℃ = 300K,\ \ \ \ \ \ \ \ R = 8.14\ J/mol - K$
$\therefore W = 1 \times 8.14 \times (400 - 300)$
W=814 J