PillarPlus interview question

Some basic mathematical question which they can't explain properly