factor the trinomial
y (to the second) -10y+21
\(y^2-10y+21 \to y^2-3y-7y+21= \\\\ = y(y-3)-7(y-3)= \\\\ =\boxed{(y-3)(y-7)}\)