Giải:
Ta có: \(x-y=15\Rightarrow x=15+y\)
Thay x = 15 + y vào biểu thức \(\frac{x-5}{y+7}=\frac{5}{2}\) ta có:
\(\frac{y+15-5}{y+7}=\frac{5}{2}\)
\(\Rightarrow\frac{y+10}{y+7}=\frac{5}{2}\)
\(\Rightarrow2\left(y+10\right)=5\left(y+7\right)\)
\(\Rightarrow2y+20=5y+35\)
\(\Rightarrow-3y=15\)
\(\Rightarrow y=-5\)
\(\Rightarrow x=15+\left(-5\right)=10\)
Vậy x = 10; y = -5