Do sample 1 and sample 2 follow any law? n: # of trials seems like it could be a binomial law? In this case you can find the std deviation with the definition of the variation in a binomiale law (mean = E(x) = np; then find var = np(1-p) => std dev = sqrt(var))

If you give the whole question it might be easy to figure out