what do we know about CD? in particular, it's end points? how about using the distance formula? the distance between x and the end point close to x would be equal to the distance between y and the end point close to y. you would be able to set up an equation with y as the only unknown