Line segment AB has a length of 4 units. It is translated 1 unit to the right on a coordinate plane to obtain line segment

CD. What is the length of line segment CD?

The length of line segment CD is 5 units.

The robot tutor is wrong again

All you did was move the line segment, which would not change its length.
It is still units long.