Pregunta de entrevista de Cheiron

Asked to solve a basic math question.