\(\dfrac{x}{5}=\dfrac{y}{4}=\dfrac{z}{2}\)
\(\Rightarrow\dfrac{x^3}{125}=\dfrac{y^3}{64}=\dfrac{z^3}{8}=\dfrac{x^3-y^3+z^3}{125-64+8}=\dfrac{69}{69}=1\)
\(\Rightarrow\left\{{}\begin{matrix}x=\sqrt[3]{125}=5\\y=\sqrt[3]{64}=4\\z=\sqrt[3]{8}=2\end{matrix}\right.\)