The answer is that this is not plagiarism.
Explanation:
The learner has created and elaborated the content of the writing by giving to the text her or his own words. Even though what is in the content is very similar to the first version, there is no any kind of plagiarism because the student is paraphrasing the text.