determine the lengths of AC and BD.