Mars interview question

How would you approach this specific problem?