Suppose z varies directly with x and inversely with the square of y. If z=18 when x=6 and y=2, what is z when x=8 and y=9?