Help me in solving RECUR06 problem

My issue

not able to solve

Learning course: Recursion
Problem Link: Rearrange - Print Pattern in Recursion