Answer
The domain of a real function ( a function defined on real numbers)
is the set of numbers for which f(x) is defined.
$ f(x)=\displaystyle \frac{x+2}{2 }\quad$ can be calculated for any real number,
so its domain is $\mathbb{R}.$
$g(x) =\displaystyle \frac{2}{x+3} $can be calculated for any real number,
except the ones yielding a zero in the denominator.
g is not defined for $x=-3.$
So the domain of g is not $\mathbb{R}$.
Work Step by Step
--