A cylinder containing 2 lbm of ammonia has an externally loaded piston. Initially the ammonia is at $280 \mathrm{lbf} / \mathrm{in}^{2}, 360 \mathrm{F}$. It is now cooled to saturated vapor at $105 \mathrm{F}$, and then further cooled to $65 \mathrm{F}$, at which point the quality is $50 \%$. Find the total work for the process, assuming a piecewise linear variation of $P$ versus $V$