You can put this solution on YOUR website! In the formula, substitute the value for n and simplify,
When n=1,
.
.
.
When n=2,
.
.
.
When n=3,
.
.
.
There it is for 3 problems.
Try and complete the remainng two in a similar fashion.
Repost if you get stuck.