(-2/x-1)=(x-8/x+6)

please help i'm having a hard time doing this by steps