Like in Illustrator, for example. I. e., grabbing the curve with the mouse and moving the mouse a certain distance.
This is a similar topic: Drag a bezier curve to edit it
I tried to reproduce tfinniga's answer:
P1 = P1 + k1 * V;
P2 = P2 + k2 * V;
P0 and P3 must remain in place.
Even adding 1 to K, the result does not meet the expectation.