Pregunta de entrevista de Reno-Depot

a math problem that I had to solve