A gradient index lens with quadratic refractive index exposed to two light sources