\(B=\dfrac{x^2\left(y-z\right)+y^2\left(z-x\right)+z^2\left(x-y\right)}{x^2y-x^2z+y^2z-y^3}\)
\(\Rightarrow B=\dfrac{x^2\left(y-z\right)-y^2\left[\left(y-z\right)+\left(x-y\right)\right]+z^2\left(x-y\right)}{x^2\left(y-z\right)-y^2\left(y-z\right)}\)
\(\Rightarrow B=\dfrac{\left(y-z\right)\left(x^2-y^2\right)-\left(x-y\right)\left(y^2-z^2\right)}{\left(y-z\right)\left(x^2-y^2\right)}\)
\(\Rightarrow B=\dfrac{\left(y-z\right)\left(x-y\right)\left(x+y\right)-\left(x-y\right)\left(y+z\right)\left(y-z\right)}{\left(y-z\right)\left(x-y\right)\left(x+y\right)}\)
\(\Rightarrow B=\dfrac{\left(y-z\right)\left(x-y\right)\left(x+y-y-z\right)}{\left(y-z\right)\left(x-y\right)\left(x+y\right)}\)
\(\Rightarrow B=\dfrac{\left(y-z\right)\left(x-y\right)\left(x-z\right)}{\left(y-z\right)\left(x-y\right)\left(x+y\right)}\)
\(\Rightarrow B=\dfrac{x-z}{x+y}\)