3 kg of air at 1.50 bar pressure and 87°C temperature at condition 1 is compressed polytropically to condition 2 at pressure 7.50 bar, index of compression being 1.2. It is then cooled at constant pressure to condition 3 and then finally heated at constant temperature to its original condition 1. Find the net work done and heat transferred.