Exponents of a class of two-colored digraphs with two cycles