Multiplying both sides by x -8s we get:

If we subtract xW from both sides we get all the terms containing x on the left hand side:

Adding 8Hs to both sides:

Factorising the left hand side:

And dividing both sides by (h-w) gives the result: