The formula for the variance is fairly easy to derive. Your starting point would be:
Var(X) = E(X2) - [E(X)]2
Most likely, the formula for the variance is given to you and you are expected to memorize it.
Standard deviation is the square root of the variance.
If you want to see the derivation, I could do that. But otherwise you just need to apply the formula. Give it a try. Post your answer and we'll check it.