You can get answers to this type of question in the Wolfram Alpha site. In this case, you might type the following in the input field:
a + b = -7, ab = -12
Or you can solve for this, by writing an equation and using the quadratic formula.
-79
17
-27
64
The numbers are 5 and 12
13
-37
55
-396
-276
-19
50