Shell Interview Question

Basic math question and safety