a,\(x^5+x-1=x^5+x^4-x^2-x^4-x^3+x+x^3+x^2-1=\left(x^5+x^4-x^2\right)-\left(x^4+x^3-x\right)+\left(x^3+x^2-1\right)=x^2\left(x^3+x^2-1\right)+x\left(x^3+x^2-1\right)+\left(x^3+x^2-1\right)=\left(x^2+x+1\right)\left(x^3+x^2-1\right)\)b,\(y\left(y-2\right)-5=y^2-2y-5=\left(y^2-2y+1\right)-6=\left(y-1\right)^2-\sqrt{6^2}=\left(y-1-\sqrt{6}\right)\left(y-1+\sqrt{6}\right)\)