The correct way to write sentence 6 is:
C. Change they to their
This correction would make the sentence read: "You can see people wearing surgical masks if they have a cold, and they can buy their masks from a vending machine." This improves clarity by indicating whose masks are being referred to.