Surely a couple of those equal signs should be +, no?
So let me assume the question is
goes into times (as ) so now
Since the degree of x-1 is 1, which is less than the degree of which is 2, we are done, and we have a remainder of x-1
So we get