We're going to use the binomial expansion formula, which is a lot easier to remember than it looks:
(a+b)n=C0*an*b0 + C1*a(n-1)*b1 + C2*a(n-2)*b2+....+ Cn*a0bn Now let's apply this formula to the question asked. First, we note that a=2, b=y and n=4. Second, we want to work out the coefficients (C0,C1 etc.) and to do this we write out the first 5 rows of Pascal's triangle. This is done by starting with a 1 and then each row below is made up by adding the 2 nearest numbers above it together, (if there is a blank space use 0). So this would be:
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
Where the bottom row are the coefficients for the binomial expansion formula C0=1,C1=4,C2=6,C3=4,C4=1
Now all we need to do is apply the binomial expansion formula from above:
(2+y)4=124y0 + 423y1 + 622y2 + 421y3 + 120*y4
Now simplify and remember that anything to the power 0 is 1, (y0=1).
(2+y)4=16 + 32y + 24y2 + 8y3 + y4
and that's it.
NOTE: Instead of trying to remember the complicated formula you may find it easier to notice that for each successive term you subtract 1 from the power of a and add 1 to the power of b.