I would suggest starting by making a common denominator of
Remember that multiplying by negative powers is the same as dividing by that positive power.
So you would have the equation of:
Make each of them have a common denominator by multiplying by corresponding values of x:
Note, x^2-2x+1 can be factorised to (x-1)^2 or (1-x)^2. I used (1-x)^2 because it helps in getting the final answer you gave.