find the lengths QC and PD.