The 2nd and 4th look to come with the extension harness so you can plug them right in to the trucks main harness.
The first one comes with a pig tail and if you have the harness extension (like the 2 above) that goes from the main harness (like my truck had also) you just need to come up with a way to join the pig tail & extension. I had to cut the extension harness plug off to join the pig tail to get mine to work.
I cant tell what the 3rd has for wires other than the 2 dark (black & brown?) in the picture so it may have a pigtail?
Dave ----