Use the distance formula to find D1 and D2.