Applied Materials interview question

How did I solved different problems