Thales interview question

Numerical reasoning