Fan: gets one wire from Black and one wire from White
Small bulb: gets one wire from Black and one wire from White (though both wires going to the bulb are physically black).
Main Bulb: gets one wire from White and one wire from Red.