Let the separation between the slits be d and distance between screen from the slits be D.
Suppose, the mth bright fringe of violet light overlaps with the nth bright fringe of red light.
Now, the position of the mth bright fringe of violet light, yv =
Position of the nth bright fringe of red light, yr =
For overlapping, yv = yr .
So, as per the question,
Therefore, the bright fringe of violet light overlaps with the 4th bright fringe of red light.
It can also be seen that the 14th violet fringe will overlap with the 8th red fringe.
Because,