code: def delete_right(elem1, elem2):
      
      # assert not (nested(elem1, elem2) or nested(elem2, elem1)), 'deletion not defined for nested elements'
      if overlapping_left(elem1, elem2):
          elem2['start'] = elem1['end']
      return elem1, elem2
docs: xxxxx
         yyyyy
      ---------
      xxxxx
           yyy