Recursive Routine Help

Yes, I am an idiot for not being able to figure this out.