How to make the path straight

how to make the path straught?

Two controls linked only by vector handles is a straight line. Just delete/dissolve the controls between the two ends of the line you want. Looks like you already have vector handles, but if not, select and set handle type to vector (‘v’ key for me, in edit with a control selected.)