Answer:
B
Step-by-step explanation:
Let the two numbers be a and b.
The product of the two is 120 and their sum of their squares is 289. In other words:
[tex]\displaystyle ab = 120 \text{ and } a^2 + b^2 = 289[/tex]
And we want to find the sum of the two numbers.
We can use the perfect square trinomial. Recall that:
[tex]a^2 + 2ab + b^2 = (a+b)^2[/tex]
From the first equation, multiply by two:
[tex]2ab = 240[/tex]
Add the two equations together:
[tex](a^2+b^2)+(2ab) = (289)+(240)[/tex]
Simplify and rewrite:
[tex]a^2+2ab+b^2 = 529[/tex]
Factor using the perfect square trinomial pattern:
[tex](a+b)^2 = 529[/tex]
And take the square root of both sides:
[tex]\displaystyle a + b = \pm\sqrt{529} = \pm23[/tex]
Hence, the sum of the two numbers is 23 or -23.
In conclusion, our answer is B.