Solve for x x/(x+5)=(x-2)/(x+1)