title: Given two points, find a third point on the line
body: <p>I have two points <code>A (x1,y1)</code> and <code>B (x2,y2)</code> that are given as an input to the program. I have to find a third point <code>C</code> that lies on the line <code>AB</code> and is at a distance <code>10</code> away from the point A.</p>
  
  <p>I can easily get the slope of the line but that doesn't give me the full equation for the line. Even if I get the full equation, I am not sure using this equation, how would I find out a point that is <code>x</code> distance away from A.</p>
  
  <p>Any suggestions on how to approach this?</p>