In this example we are multiplying two binomials so FOIL method can be used.
$$ \begin{aligned} \left( \color{blue}{ -3x+15}\right) \cdot \left( \color{orangered}{ -3x+9}\right) &= \underbrace{ \left( \color{blue}{-3x} \right) \cdot \left( \color{orangered}{-3x} \right) }_{\text{FIRST}} + \underbrace{ \left( \color{blue}{-3x} \right) \cdot \color{orangered}{9} }_{\text{OUTER}} + \underbrace{ \color{blue}{15} \cdot \left( \color{orangered}{-3x} \right) }_{\text{INNER}} + \underbrace{ \color{blue}{15} \cdot \color{orangered}{9} }_{\text{LAST}} = \\ &= 9x^2 + \left( -27x\right) + \left( -45x\right) + 135 = \\ &= 9x^2 + \left( -27x\right) + \left( -45x\right) + 135 = \\ &= 9x^2-72x+135; \end{aligned} $$