Ta có:
x(x+y+z)=-12 , y(x+y+z)=18 , z(x+y+z)=30
=> x(x+y+z) + y(x+y+z) + z(x+y+z) = (-12) +18 + 30
=> (x+y+z)(x+y+z) = 36
=> \(\left(x+y+z\right)^2\)= \(6^2\)
=> x+y+z = 6
Vậy ta có:
x(x+y+z) = 6x = -12
x = -12 : 6 = -2
y(x+y+z) = 6y = 18
y = 18 : 6 = 3
z(x+y+z) = 6z = 30
z = 30 : 6 = 5
Vậy x = -2 ; y = 3 ; z = 5