find the ratio of AB and CD.