(a)
Isothermally (at constant temperature) and reversible work.
$W = 2.303\ nRT\log\frac{p_{2}}{p_{1}}$
$= 2.303 \times 1 \times 2 \times 300\log\frac{10}{2}$
$= 2.303 \times 600 \times \log{5 = 965.84}$
At constant temperature, $\mathrm{\Delta}E = 0$
$\mathrm{\Delta}E = q + W,\ q = - W = - 965.84$ cal