Solve for x x^2-14x+40=0