Ta có:
\(\frac{x}{3}=\frac{y}{4}=\frac{z}{5}=\frac{x+y+z}{3+4+5}=\frac{x+y+z}{x+2y-z}.\left(\text{dãy tỉ số bằng nhau}\right)\)
\(\Rightarrow3+4+5=12=x+2y-z\)
\(\frac{x}{3}=\frac{y}{4}=\frac{z}{5}=\frac{x+2y-z}{3+8-5}=\frac{12}{6}=2\)
=> x/3 =2 =>x=6
=> x/4=2 => x=8
=> x/5 =2 => x=10