Three Colored Figures in Line