Question 476080
Let the two numbers be x and y.
.
The product of the two numbers is -840. In equation form this is:
.
{{{x*y = -840}}}  <---- first equation
.
The sum of the two numbers is -22. In equation form this is:
.
{{{x + y = -22}}}  <---- second equation
.
In the second equation solve for one of the variables in terms of the other. For example solve for x by subtracting y from both sides of the equation. When you do this subtraction you get:
.
{{{x = -y - 22}}}
.
Substitute the right side of this equation for x in the first equation.  This substitution leads to:
.
{{{(-y-22)*y = -840}}}
.
Multiply out the left side by multiplying y times each of the two terms in parentheses to get:
.
{{{-y^2 -22y = - 840}}}
.
add 840 to both sides of this equation and you have:
.
{{{-y^2 -22y + 840 = 0}}}
.
To get this into standard quadratic form, multiply both sides (all terms) by -1 and the result is:
.
{{{y^2 + 22y - 840 = 0}}}
.
You can solve this by using the quadratic formula, or you can factor it. The left side factors as shown:
.
{{{(y + 42)*(y -20) = 0
.
To make this equation equal to zero either factor can be equal to zero. This means that either:
.
{{{y + 42 = 0}}} in which case {{{y = -42}}} or 
.
{{{y - 20 = 0}}} in which case {{{y = +20}}}
.
Since you now know possible solutions for y, you can return to the second equation and solve for x. Using the second equation, substitute y = -42 and you get for x:
.
{{{x + (-42) = -22}}}
.
Add +42 to both sides and this becomes:
.
{{{x = 42-22}}} which simplifies to:
.
{{{x = 20}}}
.
So one possible solution to this problem is x = 20 and y = -42
.
Another possible solution occurs when y = +20. You can work this out by solving for x, but you will find that the answer for x is x = -42.
.
The answer now becomes apparent. One of the two numbers is -42 and the other is +20. (Either x = 20 and y = -42 or y = 20 and x = -42).
.
Hope this helps you to understand the process for solving this problem.