\(a,\dfrac{2ax^2-4ax+2a}{5b-5bx^2}\)
\(=\dfrac{2a\left(x^2-2x+1\right)}{5b\left(1-x^2\right)}\)
\(=\dfrac{2a\left(x-1^2\right)}{5b\left(x-1\right)\left(1+x\right)}\)
\(=\dfrac{2a\left(x-1\right)}{5b\left(x+1\right)}\)
\(b,\dfrac{\left(x+y\right)^2-z^2}{x+y+z}\)
\(=\dfrac{\left(x+y-z\right)\left(x+y+z\right)}{x+y+z}=x+y-z\)