Hooking up wires then powering them up is one of those situations that you may not get a second chance to get it right. Red and black usually denote 240 volts. Green is always ground. Your light doesn't care which wire is hot and which is neutral. First verify with a meter that red and black are only 120. Then you can go from there. Are you hardwiring this or your cord has the red and black? You will need a hot to both switches, then a hot to motor and one to light. Neutrals wire butted together. Good luck.