I need help with this question for homework I am in 6th grade.

Answer:
23 units
Explanation:
The length of a segment that goes from (x1, y1) to (x2, y2) can be calculated as:
[tex]\sqrt[]{(x_2-x_1)^2+(y_2-y_1)^2}[/tex]So, we can find the length of the segment that goes from (-8, 21) to (-8, -2) replacing (x1, y1) by (-8, 21) and (x2, y2) by (-8, -2).
[tex]\begin{gathered} \sqrt[]{(-8-(-8))^2+(-2-21)^2} \\ \sqrt[]{(-8+8)^2+(-23)^2} \\ \sqrt[]{0^2+(-23)^2} \\ \sqrt[]{0+529} \\ \sqrt[]{529} \\ 23 \end{gathered}[/tex]Therefore, the segment is 23 units long.