Rút gọn phân thức
a,\(\dfrac{\left(x^2-y\right).\left(y+1\right)+x^2y^2-1}{\left(x^2+y\right).\left(y+1\right)+x^2y^2+1}\)
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}\)
c, \(\dfrac{x^3+3x^2-4}{x^3-3x+2}\)
d , \(\dfrac{x^4+6x^3+9x^2-1}{x^4+6x^3+7x^2-6x+1}\)