y-junction

Hello. How to create Y-junction?
I’m thinking to create this kind of game:

What is the best solution of creating spline junctions?