Creating tangent relationships between curves

Previous threads on the topic:

These threads end up with very generalised solutions which may be overkill for you, but this one on the old forums looks neat and tidy and exactly matches your problem.