Fix grammar errors in the following text
This lesson was the third trail of giving students written instructions and having them explain to the classmates what activities need to be done.
This lesson was the third trial of giving students written instructions and having them explain to their classmates what activities needed to be done.