I am not able to solve this problem. can't think about the a approach

please help me with this problem