I have 14/3 going to fan/light the fan is working off blk &wh wires fine. The red is running to blue for light. At box 1, I have blk/power in,red going to light. Also red & blk from 2nd box. For total of 4 wires +grd. At 2nd box I have14/2 &14/3.White wires are tied together.14/2 blk is hot. 14/3 red&blk which travel back to 1st box. How do I wire each box?

