Expansion of (a + b)n
(a + b)2 = a2 + 2ab + b2
(a + b)3 = a3 + 3a2b + 3ab2 + b3
(a + b)4 = a4 + 4a3b + 6a2b2 + 4ab3 + b4
Note that you are using the numbers in Pascal's triangle.
You can extend this process to find out expansions involving greater powers.
Worked Example
Expand (2x + 3)4