solve x^2-6x-10=0 for x