You can definitely use the method used to prove O(f(n)) + O(g(n)) = O(f(n) + g(n)) to show what you want. But, you must also add the condition that f(n) and g(n) are greater than zero. I will prove this for you and leave it you to see how to apply it to the problem you presented.
Let the sequences $\left(f_{n}\right)$ and $\left(g_{n}\right)$
satisfy $f_{n}>0$ and $g_{n}>0$ for all $n\in\mathbb{N}$. Then
$\mathcal{O}\left(f_{n}\right)+\mathcal{O}\left(g_{n}\right)=\mathcal{O}\left(f_{n}+g_{n}\right)$.
Proof.Suppose
$$
\varphi_{n}=\mathcal{O}\left(f_{n}\right)\quad\text{and}\quad\psi_{n}=\mathcal{O}\left(g_{n}\right).
$$
Then, by definition, there exist indices of these sequences $n^{\prime}\in\mathcal{\mathbb{N}}$
and $n^{\prime\prime}\in\mathbb{N}$ as well as constants $M_{1}>0$
and $M_{2}>0$ such that $\left|\varphi_{n}\right|\leq M_{1}f_{n}$
whenever $n>n^{\prime}$and $\left|\psi_{n}\right|\leq M_{2}g_{n}$whenever
$n>n^{\prime\prime}$. Thus, taking $n_{0}:=\max\left\{ n^{\prime},n^{\prime\prime}\right\} $,
it follows that
$$
\left|\varphi_{n}+\psi_{n}\right|\leq\left|\varphi_{n}\right|+\left|\psi_{n}\right|\leq M_{1}f_{n}+M_{2}g_{n}
$$
for $n>n_{0}$. Now, taking the maximum of these two constants, i.e.,
$M:=\max\left\{ M_{1},M_{2}\right\} $, it follows that
$$
\left|\varphi_{n}+\psi_{n}\right|\leq M\left(f_{n}+g_{n}\right)
$$
Thereby implying that $\varphi_{n}+\psi_{n}=\mathcal{O}\left(f_{n}\right)+\mathcal{O}\left(g_{n}\right)=\mathcal{O}\left(f_{n}+g_{n}\right)$.