Merge polyline after offset

Yes you are a beginner, in Rhinoceros, Grasshopper and also real live 2 objects are said to be close if a distance between them is less than a certain tolerance. So if you want to join 2 disjoined object you can play with tolerances. If it is not enough you will have to use special script to deal with this problem. Like the ones that are here