Given a regular octagon, in how many ways can we color one diagonal red and another diagonal blue so that the two colored diagonals intersect at an endpoint? Consider rotations and reflections distinct.