Blazing goIITian
i guess this method shud work
pressure =Po+mg/A
thenP*V=nRT
thsu u knw P u knw.....n,r,T1 andT2
thus subtitutin them u cna find volue initial and volume final
thus wrk done =-P(delV)
hope it helps......