C and D are complementary angles, so their cofunctions are equal: