Solve by Factoring x^2=3x+40