Two reversible heat engines operating in series are giving equal amount of work. The total work is 50 kJ. If the reservoirs are 1000 K and 250 K, find the intermediate temperature and the efficiency of each engine. Also, find the heat extracted from the source