Can't you see, he is helping you?
Just do as he asked you to do and you will be able to learn to solve this problem as well as many other problems related to programming.