1. To be exact (as much as possible) your equation of the line is:

2. The point you are looking for has the coordinates with

3. Now use the distance formula which yields the distance between 2 points:

With your example you'll get:

4. Solve for p and consequently calculate . You should get two different points!