Pergunta de entrevista da empresa Boston Scientific

I was asked to solve a simple math problem