Ta có: \(\hept{\begin{cases}\frac{x}{y}=-30\\\frac{y}{z}=42\\z-x=-12\end{cases}}\).
Suy ra \(\frac{x}{y}.\frac{y}{z}=-30.42\Leftrightarrow\frac{x}{z}=-1260\) suy ra \(x=-1260.z\).
Suy ra \(z-x=z-\left(-1260z\right)=z\left(1+1260\right)=12\).
Suy ra \(z=\frac{12}{1261}\).
Vậy \(y=42.z=42.\frac{12}{1261}=\frac{504}{1256}\).
\(x=30.y=30.\frac{12}{1261}=\frac{360}{1261}\).