24.8 m/s
Step-by-step explanation:
You don't have to solve for time first. You can use the equation below to solve for the velocity before impact:

We know that
so the equation above becomes

Plugging in the numbers, we get


METHOD 2:
If you insist on using that equation for d, we can do that too. So solving for t from the equation for d. we get


So using the equation
we get

So you get the same result regardless of the method you use.