I'm trying to prove that $h$ is continuous for $h(x)=8f(x)-3g(x)$ where $f$ and $g$ are continuous. I'm not entirely sure if my choice of $\delta$ for the proof works.
My proof:
For any $\epsilon >0$ then by the continuity of $f$ and $g$ at $a$ let $\delta_1$ and $\delta_2$ be such that $|x-a|<\delta_1 \rightarrow |f(x)-f(a)|<\frac{\epsilon}{5}$, $|x-a|<\delta_2 \rightarrow |g(x)-g(a)|<\frac{\epsilon}{5}$.
Now we need to find a $\delta$ s.t. $|h(x)-h(a)|<\epsilon$. Set $\delta=min\{\delta_1,\delta_2\}$ $|h(x)-h(a)|=|(8f(x)-3g(x))-(8f(a)-3g(a))|=|(8f(x)-8f(a))+(-3g(a)-(-3g(a))| \leq |8f(x)-8f(a)|+|-3g(a)-(-3g(a))|<8|f(x)-f(a)|-3|g(a)-g(a)|<8.\frac{\epsilon}{5} - 3.\frac{\epsilon}{5}=\epsilon$
You have to be carefull with the use of Triangle Inquality. For example you have:
$$|8f(x)-8f(a)|+|-3g(a)-(-3g(a))|<8|f(x)-f(a)|-3|g(a)-g(a)|$$
which is never true. In fact the inequality holds in the opposite direction.
You can use:
$$|(8f(x)-8f(a))+(-3g(a)-(-3g(a))| = |(8f(x) - 8f(a)) + (3g(a)) - 3g(x))| \le |8f(x) - 8f(a)| + |3g(a)) - 3g(x)|$$
This will also cause you changes in how you use $\epsilon$, as you will have to use $\frac{\epsilon}{11}$, instead of $\frac{\epsilon}{5}$.
Outside of this you get the idea spot on.