The Optics For Solving Prescribed Illumination Problems