A cylinder having an initial volume of 3 m³ contains 0.1 kg of water at 40ºC. The water is then compressed in an isothermal quasi-equilibrium process until it has a quality of 50%. Calculate the work done by splitting the process into two steps. Assume that the water vapor is an ideal gas during the first step of the process.