This is simple and in my opinion if you don’t understand how then you need to hire a professional.
All three whites go together under a wire nut.
The black supply to one end of the switch
One light back stabbed into the other end of switch with the other light wrapped around the screw.
Both lights work from one switch and are wired from that switch