The answer is: yes.
Plagiarism is the act of taking other people's ideas or thoughts as if they were one's own original work. In order not to commit a severe ethical offense or academic fraud, it is important to always acknowledge other people's work. In Ajay's case, he is commiting an act of plagiarism because he has not recognized the other student's steps, and he has copied them as his own creation.