(a+b)^2 = a^2 + 2ab + b^2
(a+b)^3 = a^3 + 3a^2b + 3ab^2 + b^3
There's a really easy trick to finding these. Expanding expressions of the form (x+y)^n can be done as follows:
First write x^n. The coefficient of the next term is equal to the current coefficient multiplied by the current exponent of x, and divided by the term number. For the coefficient of the second term, this is 1 * n / 1 = n. Decrease the exponent of x by 1, and increase the exponent of y by 1. Repeat this process until you get to y^n.
If they are of the form (x-y)^n, the signs just alternate. If you're unsure, use the property that a - b = a + (-b).
Hope that helps!