TAMKO interview question

Solve mathematics word problems.