In the expansion of the polynomial $( 1 + x ) ^ { n }$, the coefficient of $x ^ { 2 }$ is 45. Find the natural number $n$. [3 points]