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