I’m stuck on this really hard problem, if someone’s bored and wants to challenge their math abilities then i would greatly appreciate it. Thank you

Im stuck on this really hard problem if someones bored and wants to challenge their math abilities then i would greatly appreciate it Thank you class=