ALDI Interview Question

To do a mathematical sum in my head