Drawing a curve tangent to three intersecting lines