(w^3-57w+43) / (w+8)

If you are asked to divide, start by setting up as a division problem.

...... w^2 - 8w + 7
w + 8 )w^3 - 57w + 43
.......w^3 + 8w^2 -->change signs
...........- 8w^2 - 57w
...........- 8w^2 - 64w --->change signs
...................+ 7w + 43
...................+ 7w + 56 --->change signs
........................- 13 -->remainder

I hope this helps and is what you were asking.

use long or synthetic division.