I'm having trouble forming a mathematical proof for a question. I can write down thousands of examples with various values of n that shows it's correct, but I'm not sure how to turn that into a mathematical proof it when multiple functions are involved.
$f_{1}, f_{2}$ and $f_{3}$ are functions on positive real numbers. Prove that if $f_{1}(n) \in O(f_{2}(n))$ and $f_{2}(n) \in O(f_{3}(n))$ then $f_{1}(n) \times f_{2}(n) \in O(f_{3}(n)^{2})$
Hint:
$$\begin{cases}\left|\frac{f_1(n)}{f_2(n)}\right|\le M_1\\{}\\\left|\frac{f_2(n)}{f_3(n)}\right|\le M_2\end{cases}\;\;\implies \left|\frac{f_1(n)f_2(n)}{f_3(n)^2}\right|=\left|\frac{f_1(n)}{f_3(n)}\right|\left|\frac{f_2(n)}{f_3(n)}\right|\le \ldots\ldots?$$