How to translate a line segment

First take one endpoint of the line segment as the center of the circle, draw a straight line at the angle you want to translate, then draw an arc with the distance you want to translate as the radius, and intersect the straight line at point A (you can name it whatever you want); then Using point A as the center and the length of the line segment as the radius, draw an arc with the other endpoint of the line segment as the center and the distance you want to translate as the radius, and intersect the arc at point B. Connect AB.

So, AB is the desired line segment