\(\frac{x}{2}=\frac{y}{5}=k\Rightarrow x=2k;y=5k\Rightarrow x.y=2k.5k=10\Rightarrow10k^2=10\Rightarrow k^2=1\Rightarrow k\in\left\{1;-1\right\}\)
k=1 thì \(\frac{x}{2}=\frac{y}{5}=1\Rightarrow x=2;y=5\)
k=-1 thì \(\frac{x}{2}=\frac{y}{5}=-1\Rightarrow x=-2;y=-5\)