Since different wavelengths of light have different indices of refraction in glass, each will be bent a different angle upon entering the glass prism.
(different wavelengths of light; have; different indices of refraction in glass) (each; upon entering; the glass prism)
different wavelengths of light each
have upon entering
different indices of refraction in glass
the glass prism