When words have a grammatical relationship which affects the form of one or more of the elements then they agree. THREE GIRLS shows agreement because the Noun has the PluralInflection, which is required by the Number. It is another way of saying Concord.
UsingEnglish.com is partnering with Gymglish to give you a free one-month trial of this
excellent online English training course. Activate your free month of lessons (special offer for new
users, with no obligation to buy) - and receive a level assessment!