unary_compose unary_compose Creates composition of two unary functions compose1() helper function compose1(f, g)(x) is f(g(x)) binary_compose Composition of three functions compose2() helper function compose2(f, g1, g2)(x1, x2) is f(g1(x1), g2(x2))