this is not a question
you ignore the remainder, therefore the answer is y = x+2
you have to divide the denominator by the numerator. you can use synthetic division or long division.
[-5] . 1 . 7 . 11
x + 2 + 1/x+5
the answer for the second equation is (4,0)