Set up function using 4 parameters and 3 arithmetic operators.