In the sentence, identify the segment that contains the grammatical error.
Thomas could not prevent his son to go to his friend’s house before completing his homework.
1
Thomas could not
2
to his friend’s house before
3
prevent his son to go
4
completing his homework