Question: how to do if statement or loop in maple?

i want to sovle this problem ..but i dont' know how to start..please help me.how to solve this eqution?

Please Wait...