The sentence in which the subject agrees with the verb is:
"The team of horses runs across the prairie, startling the sunbathing birds."
In this sentence, "team" is a collective noun that is treated as a singular subject, which agrees with the singular verb "runs."