Áp dụng dãy tỉ số bằng nhau:
b.
\(\dfrac{x}{2}=\dfrac{y}{-5}=\dfrac{x-y}{2-\left(-5\right)}=\dfrac{-7}{7}=-1\)
\(\Rightarrow\left\{{}\begin{matrix}x=2.\left(-1\right)=-2\\y=-5.\left(-1\right)=5\end{matrix}\right.\)
d.
\(\dfrac{4}{x}=\dfrac{7}{y}\Rightarrow\dfrac{y}{7}=\dfrac{x}{4}=\dfrac{y-x}{7-4}=\dfrac{-12}{3}=-4\)
\(\Rightarrow\left\{{}\begin{matrix}x=4.\left(-4\right)=-16\\y=7.\left(-4\right)=-28\end{matrix}\right.\)