R-134a at 320 kPa and 40 C undergoes an isothermal process in a closed system until its quality is 45 percent. determine how much work and heat transfer are required per mass.