Thermodynamics Problem

Two reversible heat in engines A and B are in series ,A rejected heat directly to B . Engine A receives 200 KJ at a temperature of 421c from a hot source,while B is in communication with a cold sink at a temperature of 4.4c. If the workout of A is twice that of B , find (a) the intermediate temperature between A and B (b) the efficiency of each engine and (c) heat rejected to the cold sink.