Multiple sets of points to create line?

I can create a line segment through a set of point coordinates.
But why can’t I build it when I have some groups?
What is the situation?
Can you help.
Thank you!

My English is pretty limited, please don’t mind.

Your image did not seem to load properly. Can you try again?

The image is normal.
Please try again.

I solved it.
The result is a list problem.