Math question:

What is the speed formula for an object moving or looping from start angle point in the triangle to the next angle. I want to minimize this object drift outside the angle points when it turn and maximize also speed to reach next angle.