Well it looks like the question is about a classical potential.
If a particle has an energy E and is moving in a potential V, then we have
Kinetic Energy = (E - V) = [tex]\frac{1}{2}mv^{2}[/tex]
Then solve for v:
[tex]v = \sqrt{\frac{2(E-V)}{m}}[/tex]