Mars Interview Question

How would you approach this specific problem?