This triangle has been scaled down from triangle one to triangle two. I didn't have a lot of study on this subject, but the answer that makes most sense to me would be B if you want to keep the triangles proportional
The problem solver "completed the square." He or she took half of the coefficient of x and squared the result, and then added this square and subtracted this square to/from both sides of the equation.