Ta có \(\frac{x}{5}=\frac{y}{4}=\frac{z}{3}\)
Đặt \(\frac{x}{5}=\frac{y}{4}=\frac{z}{3}=k\Rightarrow\hept{\begin{cases}x=5k\\y=4k\\z=3k\end{cases}}\)
Khi đó P = \(\frac{x+2y-3z}{x-2y+3z}=\frac{5k+2.4k-3.3k}{5k-2.4k+3.3k}=\frac{5k+8k-9k}{5k-8k+9k}=\frac{4k}{6k}=\frac{2}{3}\)
Theo bài ra, ta có :
x:y:z=5:4:3 ⇒x/5=y/4=z/5⇒
Đặt x/5=y/4=z/3=kx5=y4=z3=k ⇒x=5k
y=4k
z=3k⇒x=5ky=4kz=3k
⇒P=x+2y−3z/x−2y+3z=5k+8k−9k/5k−8k+9k=4k/6k=23
Vậy P=23