Answer :

[tex]xy=18\\ \dfrac{x}{y}=2\\\\ xy=18\\ x=2y\\\\ 2y\cdot y=18\\ 2y^2=18\\ y^2=9\\ y=-3 \vee y=3\\\\ x=2\cdot (-3) \vee x=2\cdot 3\\ x=-6 \vee x=6\\\\ \boxed{(x,y)=\{(-6,-3),(6,3)\}}[/tex]