How do you solve 2x(x+3)=(x+1)(2x-5)