title: cutting segment algorithm
body: <p>I have a segment defined by two points: [x1,y1], [x2,y2].</p>
  
  <p>What is the simplest method to cut it in two parts in a ratio between (1/2) and (1/4) ?</p>
  
  <p>I want the coordinates of the third point [x3,y3] which cuts the above segment in two seperate parts ([x1,y1] , [x3,y3]) and ([x3,y3], [x2, y2])</p>
  
  <p>I search for a very fast method, it must not be to accurate, the coordinates of the third point can be rounded up to integers.</p>