We can use distribution property to multiply the polynomial by the monomial.
$$ \begin{aligned} \color{blue}{x^2} \cdot \left( x^3+x^2-1 \right) &= \color{blue}{x^2} \cdot x^3 + \color{blue}{x^2} \cdot x^2 + \color{blue}{x^2} \cdot \left( -1\right) = \\ &= x^5+x^4-x^2 \end{aligned} $$