
David W. answered 08/09/19
Experienced Prof
First, remember F-O-I-L. (ax+b)(cx+d) = acx2 + adx + bcx + bd
Now, make that a perfect square by making the two factors the same:
(ax+b)(ax+b) = a2x2 + abx + abx + b2
(ax+b)(ax+b) = a2x2 + 2abx + b2
This is especially easy if a=1: (x+b)(x+b) = x2 +2bx + b2
The problem gives: x2 + 2x + _____
For the coefficients to match, 2b=2, so b=1
That makes, b2 = 1
(x+1)(x+1) = x2 + 2x + 1