Hey there!!
Given :
Sum of two integers = -5 and the product is -36.
Hence,
... x + y = -5
... xy = -36
x + y = -5
... y = -x - 5
xy = -36
...x ( -x - 5 ) = -36
... -x² - 5x = -36
... x² + 5x - 36 = 0
This can't be factored so solve using quadratic equation
x = [-b ±√(b2-4ac)]/2a a=1, b=5, c = -36
x = [-5±√(52-4(-36))]/2
x = [-5 ±√169]/2
x = (-5 ± 13)/2
x = (-5+13)/2= 8/2 = 4 OR
x = (-5-13)/2 = -18/2 = -9
x = 4, -9
Note here that since x+y=-5
For x=4, y=-9
for x = -9, y = 4
The two numbers are 4, -9
Hope my answer helps!!