Theo đề bài: \(\dfrac{x}{y}=\dfrac{8}{9}\Rightarrow x=\dfrac{8y}{9}\) \(\left(1\right)\)và \(x+y=-170\)\(\left(2\right)\)
Thay \(\left(1\right)\) vào \(\left(2\right)\), ta có: \(\dfrac{8y}{9}+y=-170\)
\(\Leftrightarrow\dfrac{8y}{9}+\dfrac{9y}{9}=-170\)
\(\Leftrightarrow\dfrac{17y}{9}=-170\)
\(\Leftrightarrow17y=-1530\)
\(\Leftrightarrow y=-90\)
Thay \(y=-90\) vào \(\left(2\right)\) suy ra: \(x+\left(-90\right)=-170\)
\(\Rightarrow x=-80\)
Vậy \(x=-80;y=-90\)