Using general theory, we know that $M^{(n-2,2)}$ contains a copy of the $n(n-3)/2$-dimensional representation $S^{(n-2,2)}$. Now, the author finds an $n$-dimensional submodule isomorphic to $M^{(n-1,1)}=S^{(n)}\oplus S^{(n-1,1)}$.
Using general theory again, the compliment of $M^{(n-1,1)}$ is an $S_n$-submodule. Since
$\dim M^{(n-2,2)}={n\choose 2}$, this compliment has dimension ${n\choose 2}-n=\frac{n(n-3)}{2}$. Since there is no room left for anything else, this compliment must be the irreducible representation $S^{(n-2,2)}$.