Need help with this quants problem

Its a pattern recognition qs, refer POTD of July 1st, extreme math problem.

Thanks