Answer
If $f$ and $g$ are given, we can determine $f-g$ by the fact that $(f-g)(x)=f(x)-g(x)$. However, first you must determine the domain of $f-g$, which is the intersection of the domains of both functions.
Work Step by Step
Keep in mind that $(f-g)(x)$ is the same as $f(x)-g(x)$.