You can put this solution on YOUR website! You could just write it twice and use FOIL (distribution rules).
The quicker way for this special case is the FOOL method (i just made that up = hope I'm the first):
F: square the first quant w --> w^2
OO: 2 * the cross product W * -2 --> -4w
L: square the last quant -2 --> +4
(w-2)^2 = w^2 -4w +4