"flies is buzzing over the trash can." "flies" is a plural noun, and "is" should be "are."
if you're ever struggling with stuff like this, i find it easiest to try both the plural and singular form of the noun/verb, maybe say them out loud, and see what sounds right.