easy: first box:hook the hot wire to the common terminal and the white to the outgoing white and the outgoing red and black to the travelers.second box:incoming red and black to the travelers, black to the light to the common and the incoming white wire to the white wire from the light.