$$y_1 + y_2 + y_3 = 20$$ $$1 \le y_1 \le 5$$ $$y_2 \ge 5$$ $$y_3 \ge 5$$
I know how to solve it if it were:
$$y_1 + y_2 + y_3 = 20$$ $$y_1 \ge 1$$ $$y_2 \ge 5$$ $$y_3 \ge 5$$
then I would do:
$$\begin{align} x_1 + x_2 + x_3 &= (y_1 - 1) + (y_2 - 5) + (y_3 - 5) \\[2ex] &= (y_1 + y_2 + y_3) - 11 \\[2ex] &= 20 - 11 \\[2ex] &= 9 \end{align}$$
and then the answer is $\binom{9+3-1}{3-1}=\binom{11}{2}$
but from here I don't understand how I can solve it when $(1 \le y_1 \le 5)$.
Since $5$ is a small number you can easily take 5 cases for $y_1=1, 2, 3, 4$ and $5$. So, you get $\dbinom{10}{1}+\dbinom{9}{1}+\dbinom{8}{1}+\dbinom{7}{1}+\dbinom{6}{1}=40$
Or you can use generating functions:
Observe that the number of required solutions is the coefficient of $x^{20}$ in $(x+x^2+ \cdots x^5)(x^5+x^6+ \cdots)^2$.
In cases where case work is not feasible(when bigger numbers are involvd) you can also use the principle of inclusion other than generating functions to solve this problem