Step 1: Identify the number of open-loop poles in the RHP.
The problem states that the counterclockwise Nyquist contour encircles two poles of \(G(s)H(s)\). Since the Nyquist contour encloses the right-half \(s\)-plane (RHP), these two poles must be in the RHP. Thus, \(P = 2\).
Step 2: Apply the Nyquist Stability Criterion for stability.
For the closed-loop system to be stable, the number of closed-loop poles in the RHP (\(Z\)) must be zero. The Nyquist Stability Criterion relates \(Z\), the number of open-loop poles in the RHP (\(P\)), and the number of counterclockwise encirclements of the \(-1 + j0\) point by the Nyquist plot of \(G(s)H(s)\) (\(N\)) as \(N = Z - P\).
For stability (\(Z = 0\)) and with \(P = 2\), we have \(N = 0 - 2 = -2\). A negative value of \(N\) indicates clockwise encirclements. Therefore, the Nyquist plot of \(G(s)H(s)\) must encircle the \(-1 + j0\) point twice in the clockwise direction for the closed-loop system to be stable.
Step 3: Relate encirclements of \(-1 + j0\) by \(G(s)H(s)\) to encirclements of the origin by \(1 + G(s)H(s)\).
Consider the function \(F(s) = 1 + G(s)H(s)\). The Nyquist plot of \(F(s)\) is simply the Nyquist plot of \(G(s)H(s)\) shifted by \(+1\) along the real axis. Therefore, the number of encirclements of the origin by the Nyquist plot of \(1 + G(s)H(s)\) is the same as the number of encirclements of the \(-1 + j0\) point by the Nyquist plot of \(G(s)H(s)\), both in the same direction.
Since we need two clockwise encirclements of \(-1 + j0\) by \(G(s)H(s)\) for stability, we also need two clockwise encirclements of the origin by \(1 + G(s)H(s)\).