if triangle ABC are congruent, what is the length of line segment AB?

Assuming you meant to say triangle ABC is congruent to triangle DEF, then the corresponding pieces AB and DE are the same length.
In short AB = DE.
Since DE = 10, this makes AB = 10 also.