To calculate the distance between two points on the coordinate system you have to use the following formula:
![d=\sqrt[]{(x_1-x_2)^2+(y_1-y_2)^2}](https://img.qammunity.org/2023/formulas/mathematics/college/87agft4bkj7u5ow4h8vn3yzn1g00q311fw.png)
Where
d represents the distance between both points.
(x₁,y₁) are the coordinates of one of the points.
(x₂,y₂) are the coordinates of the second point.
To determine the length of CD, the first step is to determine the coordinates of both endpoints from the graph
C(2,-1)
D(-1,-2)
Replace the coordinates on the formula using C(2,-1) as (x₁,y₁) and D(-1,-2) as (x₂,y₂)
![\begin{gathered} d_(CD)=\sqrt[]{(2-(-1))^2+((-1)-(-2))}^2 \\ d_(CD)=\sqrt[]{(2+1)^2+(-1+2)^2} \\ d_(CD)=\sqrt[]{3^2+1^2} \\ d_(CD)=\sqrt[]{9+1} \\ d_(CD)=\sqrt[]{10} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/fwcznmog36yyciqfbinotj829hwi18r0sv.png)
The length of CD is √10 units ≈ 3.16 units