\(\dfrac{x}{y}=\dfrac{2}{5}=\dfrac{x}{2}=\dfrac{y}{5}\)
Ta có: \(\dfrac{x}{2}=\dfrac{y}{5}=k\)
\(\Rightarrow\left\{{}\begin{matrix}x=k2\\y=k5\end{matrix}\right.\)
mà \(xy=40\)
\(\Rightarrow2k.5k=40\)
\(\Rightarrow k^2=4\)
\(\Rightarrow k=\pm4\)
\(\Rightarrow\left\{{}\begin{matrix}\dfrac{x}{2}=\dfrac{y}{5}=4\\\dfrac{x}{2}=\dfrac{y}{5}=-4\end{matrix}\right.\)
\(\Rightarrow\left\{{}\begin{matrix}x=8;y=20\\x=-8;y=-20\end{matrix}\right.\)