For variance, we will use an alternate form of the definition that is useful when looking for cancellation options with the numerous factorials in the
hypergeometric probability function 6.4. Indeed, you can easily notice that
\begin{equation*}
\sigma^2 = E[X^2] - \mu^2 = E[X^2-X]+E[X] -\mu^2 = E[X(X-1)] + \mu - \mu^2.
\end{equation*}
Since we have \(\mu = r \frac{n_1}{n}\) from above then let’s focus on the first term only and use the substitutions
\begin{gather*}
y = x-2\\
n_3 = n_1-2\\
s = r-2\\
m = n-2
\end{gather*}