# Finding a Point in the Line at a Specific Distance

Imagine you have a point and need to have another one at a certain distance apart and both must belong to the same line.

One possible solution is to draw a circle with that distance as the radius and check where it intersects the line, though it gives you 2 possible solutions for the problem. But there is another option.

By knowing the distance we can find the other point by projecting the line. The problem is we don’t have the angle of the line to complete the equation. However there is an interesting property that wasn’t covered in that post:

By using the slope formula we can find the value of the angle and then use the projections equations to determine the missing coordinates:

_{2}- y

_{1}) / d <=> y

_{2}= d * sen α + y

_{1}

_{2}- x

_{1}) / d <=> x

_{2}= d * cos α + x

_{1}

The advantage of this method is you only get one solution. The point will be either to the left or right of the existing point depending if the distance is negative or not.