Varian Medical Systems Interview Question

Solving Aptitude was difficult for me