Could you help me in solving the following problem?

If x varies inversely as the square of y and x=2 when y=1 find x when y=2

When you double y, the value of x decreases by a factor of 4. That is due to the inverse square dependence.

x must become 2/4 = 1/2 when y=2.