And each diagram below, right, the 2 number on the sides of the acts that are multiplied together to get the top number of the x, but added together to get the bottom number of the x.

-34 = x*y
15 = x +y
17 and -2
__________________________
_____________
9 = x*y
6 = x +y
_