When you calculate the standard deviation,make sure to use the mean.
Once you find the sum of the squared deviations, you already have the numerator value of the formula.
To find the number of the observations, you just count the number of x values.