The figure is made up of three squares: ABCK, DEJK, and FGHJ.
• CD is the distance between vertex C of square ABCK and vertex D of square DEJK.
• Squares ABCK and DEJK share vertex K.
• CK = side of ABCK = 12 cm, and DK = side of DEJK = 7 cm.
• C, D, and K lie on the same line. Since D is between C and K: CD = CK − DK = 12 − 7 = 5 cm.
Final Answer: CD = 5 cm