Z varies inversely with x and directly with y. When x=6, y= 2, z=5. What is the value of z when x=4 and y=9?