Extend 2 open curves to meet at point with minimum deviation (for making network sufaces)

Here is a 5 sided shape and an open curve network, if I can get rhino to determine where they should intersect when extended so they have a nearly equal deviation to make them connect, it will make building 5 sided curve networks a doddle (I will trim the corner after)