What is 42 + x = x^2? How do I solve for X? Thanks

x^2 - x - 42 = 0

factors very nicely to
(x-7)(x+6) = 0
so x = 7 or x = -6