Answer:
The work done on the gas is equal to the area under the curve pv diagram w = area of triangle = 1/2 (base)(height) = 1/2 (BC)(Ac) = 1/2 (3v - v)(3p - p) = 1/2 (9 vp - 3 vp - 3vp + vp) = 4 vp/2 W = 2 vp
Check attachment for the diagrammatic representation