f(x)=2x^2+8x+2

Express f(x) in the form A(x+B)^2 + C, where A, B and C are constants to be determined.

I just don't get this at all, we haven't done it in class so I don't know why it's been set as a homework question, yes one of many..woohoo!! Any help greatly appreciated.