Shape and Freeform elements (including Line and Curvers) support many types of anchor points and path editing tools than motion paths so editing it is a bit more complicated.
You can take a look at the following tutorial for editing a shape path:
However, we’ve found bugs that make shape path editing not work as expected in some cases.
We’ll try to fix it in the future releases.