You can use the same rule of the definite articles I and GLI.
- Dei= Di + i.
You can use it for masculine plural nouns which start with a consonant.
e.g.: dei libri, dei tavoli, dei bicchieri, dei pantaloni.
- Degli= di+ gli.
You can use it for masculine plural nouns which start with a vowel, s + consonant, z, y, ps, pn, x or gn.
e.g.: degli amici, degli studenti, degli zaini, degli yogurt, degli psicologi.