From the rules of base pairing, we know that Adenine always pairs with Thymine and Cytosine always pairs with Guanine.
Adenine is denoted as A
Thymine is denoted as T
Cytosine is denoted as C
Guanine is denoted as G
So for the sequence CGTAGG, the complementary sequence on will be GCATCC.
This strict arrangement is because only with this arrangement can hydrogen bonds be formed between these base pairs . Any other arrangement cannot sustain the integrity of the DNA molecule.