y varies partly as the square root of x when x=9 and y=3.

Write the formular connecting them
solve for x when y=17
solve for y when x=24

not sure what "partly" means, but if direct, then

y = k√x, so k=1, and y=√x

If inverse, then

y=k/√x so k=1, y=1/√x