For the enhanced current-mirror circuit shown in Fig. P6.26, replace the amplifier A with the current-mirror opamp. Derive an expression for the output resistance, $R_{\text {out }}$ in terms of the constituent transistors' small signal parameters $\left(\mathrm{g}_{\mathrm{m}}, \mathrm{r}_{\mathrm{ds}}\right.$, etc. $)$