We are interested in estimating $\sum_{i=1}^n (3i+2n)$. This is equal to
$$\sum_{i=1}^n 3i+\sum_{i=1}^n 2n.$$
The second sum is the sum of $n$ terms, each of which is $2n$. So the second sum is $2n^2$.
For the first sum, we can get an exact expression, as in your work. But let's not work so hard. We have a sum of $n$ terms, each of which is $\le 3n$. So $\sum_{i=1}^n 3i\le 3n^2$.
Thus our original sum is $\le 5n^2$. We could have done this in one step by noting that $3i+2n\le 5n$ for all $i\le n$.
So there is a constant $C$, namely $5$, such that our sum is $\le Cn^2$ for all $n$. That ends the proof.
Remark: In this case, by using the standard formula for $\sum_{i=1}^n i$, we can get a "better" constant than $5$. But it can save a lot of work if one notices when a crude estimate is good enough.