Refraction of Light through Prisms and Lenses