Let S=1+3+5+...+(2n-3)+(2n-1)
Then S=(2n-1)+(2n-3)+...+5+3+1
Since S has n terms, and if you add the corresponding terms, the sum is 2n, we have 2S=2n*n, so S=n^2.
I hope this helped!