y = kwx2/z where k is a constant
to calculate the value of k, plug in the values in the example you have been given.
(9) = k(2)(3)2/10 = k 18/10
10(9)/18 = k
k = 5
now, take the data for the second example, but this time you have k and must solve for y.
y = 5 wx2/z
y = 5(4)(5)2/25 = 20