Solution 1:

Use the definition of norm operaror and how that translates to continuity (in the finite-dimensial case that happens always). Can you see why $$ \|g(z)||\leq ||g||||z|| ?$$ Now choose $z$ wisely and use the same argument.

Solution 2:

\begin{align} \|(gf)(x))\|=\|g(f(x)\|&\leq \|g\|\|f(x)\|\\&\le\|g\|\|f\|\|x\|\\&=(\|g\|\|f\|)\|x\|\end{align}

Now apply definition of norm of $\|gf\|$.