Meta Interview Question

How to solve the problems?