Given intervals [1,4], [3,6], [8,10], explain how to merge overlaps and state the result.