Deloitte Interview Question

There are some math problems at last