Each line in every set of lines of the same color intersects with each line in two other sets. Because of that fact, there's a segment formed on each line in every set. Therefore, by tracing any segment from every set, we get a closed shape, which is a pentagon, as a result. Since there are 3 segments in each set and a pentagon has 5 sides, the number of pentagons we can trace is
.