Black hot to the red 3 wire, other red 3 wire to black light wire. Join white 3 wire with other white 3 wire. Join black 3 wire with other black 3 wire. Join white wire from power to white wire from fixture. Assuming you know how to hook up 3 way switches.