For constant pressure process,
Work done is given by W=nRΔT=150J, here, R is gas constant.
Now, for above process, f=8.
So, specific heat at constant pressure is CP=(1+2f)R.
Amount of heat adsorbed by the gas is
Q=nCPRΔT=(2f+1)nRΔT=(28+1)150=750J