def METHOD_NAME(ud: UD) -> MergeTerm:
    d = Drawer(ud)
    pre = d.draw(term)
    queries = d.draw(lists(merge_query, min_size=1, max_size=1))
    pst = d.optional(term)
    return MergeTerm(pre, queries, pst)