SFXPAL recursive relation

can anyone tell how to solve this question??

what is step by step logic and recursive relation??