SurePrep interview question

Solve a coding challenge that deals with function composition.