Energy can be changed from one form to another, but it cannot be created or destroyed. ... This principle is referred to as the first law of thermodynamics or the law of energy conservation. The law applies to all systems both large and small, and, again, it states that energy cannot be created or destroyed.
We can use the kinematic equation

where Vf is what we are looking for
Vi is 0 since we start from rest
a is acceleration
and d is the distance
we get
(Vf)^2 = (0)^2 + 2*(2)*(500)
(Vf)^2 = 2000
Vf = about 44.721
or 44.7 m/s [if you are rounding this by significant figures]