If f:R→R and g:R→ are defined by f(x)=2x+3 and g(x)=x2+7, then the values of x such that g(f(x))=8 are