Expanding brackets part two

Some\times we will need to expand two pairs of brackets multiplied together.

Let’s expand (x + 5)^2

(x + 5)^2 = (x + 5) \times (x + 5)

The \times symbol is usually dropped so that

(x + 5)^2 = (x + 5)(x + 5)

To expand brackets like this every term in the second bracket is multiplied by every term in the first bracket

(x + 5)(x + 5)

= x(x+5) + 5(x+5)

= x^2 + 5x + 5x +25

= x^2 + 10x +25