EXL Service interview question

Two puzzles, not so difficult was asked during interview.