Why does a portable generator cord have a three prong male end to connect to the generator but a four slot female end to connect to the transfer switch? Also, this generator has a 20 amp 240v L6-20 socket and a 30a 125V L5-30 socket. Which one does the cord plug into and why? Thank you for your patience and help, this is my first portable gen. install.