Here's a good start (I hope)
I'm going to assume it's not enough to run a few numbers through your head (the factors of 48, for example) and trial and error your way to a solution.
You (your teacher) want to solve it algebraically . . . So here goes . . .
Two numbers add to -2 means x + y = -2
And multiply to -48 means xy (x times y) = -48
Choose either equation (x+y=-2 or xy=-48) and solve for one of the variables
I prefer keeping x+y=-2 the way it is
And solving the other equation for x
You get x=-48/y (-48 divided by y)
Now a little substitution . . . if x=-48/y, you can substitute that into the first equation for the x term
So, x+y=-2 becomes -48/y + y=-2
How do you get rid of the "y" in the denominator?
Multiply "everything" by y (the -48/y, the y, and the -2 on the other side of the equation)
You get -48 + y^2 = -2y (-48 + y-squared = -2y)
"Bring over" the -2y (by adding 2y to both sides)
-48 +y^2 + 2y = 0
Rearrange the terms
y^2 +2y -48 = 0
Now you can solve this obvious quadratic equation in the form ax^2 + bx + c (or ay^2 + by + c = 0) using the Quadratic Formula . . . but first . . . check to see if you can factor (Hint: Don't use the quadratic formula)
Here's where I'll leave it to you