Y varies inversely as x and y =18 when x=3