Define a Bezier curve to connect two straight lines

Using 5 control points continuity in first derivative is not warranted. It is only continuous for certain locations of the blue point.

Using 6 control points continuity is warranted for any location of the blue point.