Shown in the figure below is a system consisting of a power cycle and a heat pump cycle, each operating between hot and cold reservoirs whose temperature are 500 K and 300 K, respectively. All energy transfers are positive in the directions of the arrows. The accompanying table provides two sets of steady-state data, in kW. For each set of data, determine if the system is operating in accord with the first and second laws of thermodynamics.