title: Given 4 line equation of a convex quadrilateral, how can I find coordinate of 4 corner?
body: <p>I have four line equations y=mx+b and there is 6 intersections point.</p>
  
  <p>It is known that those line form a convex quadrilateral.</p>
  
  <p>How can I find which four intersection form the quadrilateral (preferably in order)?</p>
  
  <p><a href="https://i.stack.imgur.com/U8lae.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/U8lae.png" alt="enter image description here"></a></p>