Heat absorbed for an isothermal expansion is given as, nRTln(V2V1) where, n is the number of moles, T is the constant temperature associated with the process, V2 is the final volume and V1 was the initial volume.
Considering, n=1 applying ideal gas law, we can find the temperature,
so, P1V1=nRT
or, T=P1V1nR
or, RT=P1V1, for n=1
so, RT=10×2=20 atm.L
So, heat absorbed is, 1×10×ln(102)=32.2 atm.L
And we know from 1st law of thermodynamics, change in internal energy for an isothermal process is zero.
So, work done =− heat absorbed =−32.2 atm.L