Each angle in a regular octagon = 135 degrees and
Because of the 2 given equal angles BCDA is a trapezium, so
AD is parallel to BC so < BCD + < CDA = 180 degrees
Therefore < CDa = 180-135 = 45 degrees
and < CDJ = 180 - 45 = 135 degrees (adjacent angles).