Word problem involving the weather and a leaking barrel

The question states

During a rain weather, a barrel with the height of 90cm is filled to the top. When it stops to rain the barrel starts to leak so that the waterlevel is declining proportional to the squareroot of the water depth. How long time does it take for the barrel to be empty of it drops from 90cm to 85cm in 1h?

My attempt at the solution

y'=-k(Y)^1/2

After solving for Y by using separaration technique i receive Y=(K^2)(t^2)/4 -ktD +D^2

Solving for D i get (90)^1/2

solving for K i get (4(90)^1/2 +-1360^(1/2)) / 2

When i solve for y=0 i recive either 5h our 177h. And its supposed to be 35h. I cant see where im doing wrong, i think that K^2 is weird. along with that t^2 is weird as well.