Saturated $\mathrm{R}-410 \mathrm{a}$ at $-10^{\circ} \mathrm{C}$ is pumped/compressed to a pressure of $2.0 \mathrm{MPa}$ at the rate of $0.5 \mathrm{~kg} / \mathrm{s}$ in a reversible adiabatic process. Calculate the power required and the exit temperature for the two cases of inlet state of the $\mathrm{R}-410 \mathrm{a}:$
a. quality of $100 \%$.
b. quality of $0 \%$.