If f(x)=(x+5)2−7, which of the following is equivalent to f(x)?
x2+10x+18
x2+10x+32
x2+25x−7
x2+25x+18