Algebra Examples

Solve for z limit as x approaches -1 of (x^2+yx+z)/(x^2-1)=3
I am unable to solve this problem.