Help with wiring issues (wires too short)

I ran into same, wire nuts & extra wire from Home Depot as mentioned.