Build a Compose2 from the function that can be used to easily compose functions in a chain.
Compose2<Input1, Input2, Output> c(Input1 input1, Input2 input2) => Compose2(this, input1, input2);