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