A refrigeration cycle removes heat at a rate of 250

A refrigeration cycle removes heat at a rate of 250 kJ/min from a cold space maintained at -10oC while rejecting heat to the atmosphere at 25oC. If the power consumption rate is 1.5 kW,
(a) Do a first-law analysis to determine the rate of heat rejection to the atmosphere in kW.
(b) Do a second-law analysis to determine the entropy generation rate in the refrigerator's universe.