Steam is heated from 70 kpa and 10% quality to 150 kpa and 80% quality inside a spring-loaded piston-cylinder that allows for linear expansion. Determine the work and heat transfer in kj/kg.