y=x

f: y = x
g: z = 0
h = IntersectPath(f, g)