If f:R→R and g:R→R are defined by f(x)=2x+3,g(x)=x2+7, what are the values of x for which f[g(x)]=25?