Hi, thank for the reply. Your answer and explanation for the change P→Q and Q→R is correct.
As for the change R→P, you need to make use your answer for 2(b)(i), the total change in internal energy of the gas during the complete cycle PQRP is
zero.
Using this info, you can find the increase in internal energy of gas for the change R→P.
Then apply the first law of thermodynamics
ΔU = Q + W
for the change R→P to find thermal energy transferred to gas.