def intersect_regions(region_a, region_b):
    """
    Given a pair of coordinates, returns the coordinates that overlap between
    the two regions.
    """
    return (max(region_a[0], region_b[0]), min(region_a[1], region_b[1]))