Deloitte interview question

There are some math problems at last