$${\mathtt{mgh}} = {\frac{{{\mathtt{mv}}}^{{\mathtt{2}}}}{{\mathtt{2}}}}$$
solve for v
gh = v2/ 2 multiply both sides by 2
2gh = v2 take the square root of both sides
±√(2gh) = v