Ta có \(\frac{x}{5}=\frac{y}{9}=\frac{z}{3}\Rightarrow\frac{x}{5}=\frac{y}{9}=\frac{-z}{-3}\)
\(\Rightarrow\frac{x}{5}=\frac{x+y-z}{5+9-3}=\frac{x+\left(y-z\right)}{11}=\frac{x+18}{11}\)
\(\Rightarrow\frac{x}{5}=\frac{x+18}{11}\Rightarrow11x=5x+90\Rightarrow x=15\)
\(\Rightarrow\frac{y}{9}=\frac{15}{5}\Rightarrow y=27\); \(\frac{z}{3}=3\Rightarrow z=9\)
Vậy \(x=15;y=27;z=9\)