An object at rest accelerates at 5 meters per second until it attains a speed of 30 meters per second. What distance does the object move while accelerating?

v^2 = 2as

so plug in your numbers to find s.