Pregunta de entrevista de Amazon

Math question involving performance rates