There are many towns on the island of Tetra, all connected by roads. Each town has three roads leading to three other different towns: one red road, one yellow road and one blue road, where no two roads meet other than at towns. If you start from any town and travel along red and yellow roads alternately (RYRY...) you will get back to your starting town after having travelled over six different roads. In fact RYRYRY will always get you back to where you started.
In the same way, going along yellow and blue roads alternately will always get you back to the starting point after travelling along six different roads (YBYBYB). On the other hand, going along red and blue roads alternately will always get you back to the starting point after travelling along four different roads (RBRB).
How many towns are there on Tetra?
I drew some graphs, but nothing works.

I'll try to rephrase your question. (Assuming I understand it correctly. Edit: I didn't.)
Let $G=(V,E)$ be planar, $3$-regular connected graph with $\chi'(G)=3$
($G$ edges could be color in $3$ colors properly. Edge coloring)
$G$ also satisfy the following property:
For every two colors, Every path of length $6$ with those two alternating colors, is a cycle.
Find $\vert V \vert$
$\require{enclose} \enclose{horizontalstrike}{\textbf{Answer}: 6}$Proof by a drawing:
As the comments stated, I solved the wrong question, this solution does not satisfy the requirement that there are exactly two colors, such that every path with those alternating color of length 4 is a cycle.
I'm keeping this post because I hope it will help others.