Inverse & direct proportion past year question

does anyone know how to solve this question? i substituted square root x in the y equation with square root k(w2) but didn’t get the right answer

does anyone know how to solve this question? i substituted square root x in the y equation with square root k(w2) but didn’t get the right answer