how to solve the light problem?

here’s the problem:

when you need it to be like this: