Question: Programming in maple using else and if

I've done the procedures for answering the questions but i don't know how to go about calculating f(6) and f(15).

Please Wait...