A mixing chamber receives 3kg/min ammonia as saturated liquid at -20 C from one line and ammonia at 40 C, 300 kPa from another line through a valve. THe chamber also receives 325 kJ/min energy as heat transferred from a 40 C reservoir. This should produce saturated ammonia vapor at -20 C in the exit line. What is the mass flow rate in the second line and what is the total entropy generation in the process?