If y varies inversely as the square of x and y=5 when x=2.5, what is the value of y when x=9?