Answer
$$\color{blue}{\bf{ (-\infty, \infty) }}$$
Work Step by Step
We are given the two functions $\bf{f}$ and $\bf{g}$
$\bf{f(x) = x + 1}$ and $\bf{g(x) = x^2}$
and asked to find the $\bf{domain}$ of $g$
$g(x) = x^2$
$x$ can be any real number so the domain of $g(x)$ is:
$$\color{blue}{\bf{ (-\infty, \infty) }}$$