v2=u2+2as

v= final speed

u= initial speed

a= acceleration 

s= distance moved 

see all the rearrangements of this equation.