1. electric guitar: just connect the cable of the mixer directly.
2. Electric guitar: first connect the effect device, then connect the mixer and the effect device.
3. Keyboard: guitar in the same box
4. Bass: It works like an electric guitar, but it doesn't.
5. Drum: This is a bit troublesome. If you use an electric drum, you can connect it directly to the line of the mixer from the sound source of the electric drum, but if you don't use an electric drum, you should use at least two condenser microphones. If you use a condenser microphone, first of all, your mixer should have a 48V phantom power supply, and then connect it with a gun head wire. If you don't want to use a condenser microphone, or your mixer doesn't have a 48V phantom power supply, then you should go.
6. From the mixer to the power amplifier, from the thick interface of the mixer, it is done with two gun wires.
Based on the above points, I'll give you a suggestion: the mixer must have at least 8 channels, otherwise it may not be enough. Try to choose a big-name one. If you have money, you can buy music, usually Yamaha and Belinda. You choose domestic brands when you have no money.