g(x)=5x^2+3x+2

Compose g(g) and find domain

since g is a polynomial, its domain is all reals. Likewise for g(g)

g(g) = 5g^2 + 3g + 2
= 5(5x^2+3x+2)^2 + 3(5x^2+3x+2) + 2
= 125x^4 + 150x^3 + 160x^2 + 69x + 28