Pergunta de entrevista da empresa Shell

Basic math question and safety