To find the length of a line given two points, we are going to use the distance formula, which is defined below:
[tex]D = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}[/tex]
([tex](x_1, y_1)[/tex] and [tex](x_2, y_2)[/tex] are the two points)
The points in this problem are (2, 5) and (-1, 5). We can find the distance of DC by substituting these values into the distance formula and simplifying, as shown below:
[tex]D = \sqrt{(-1 - 2)^2 + (5 - 5)^2[/tex]
[tex]D = \sqrt{(-3)^2}[/tex]
[tex]D = \sqrt{9}[/tex]
[tex]D = 3[/tex]
The length of DC is 3.