Air undergoes a polytropic compression in a piston cylinder assembly from and to . Using ideal gas model, find the work and the heat transfer per unit mass if .