Heat is added to a piston-cylinder device that initially contains 2 kg of water at 300 °C and a quality of 0.3. The water expands at a constant pressure until its volume increases by a factor of 2, at which point the piston hits a stop that prevents further expansion. Heat continues to be added until the pressure reaches 1200 kPa. Determine the final temperature of the water, the amount of work done by the expansion, and the amount of heat added.