A cylinder fitted with a frictionless piston contains $10 \mathrm{lbm}$ of superheated refrigerant $\mathrm{R}-134 \mathrm{a}$ vapor at $100 \mathrm{lbf} / \mathrm{in} .^{2}, 300 \mathrm{~F}$. The setup is cooled at constant pressure until the $\mathrm{R}-134 \mathrm{a}$ reaches a quality of $25 \% .$ Calculate the work done in the process.