The subject of a sentence is a person, place, thing or idea that is doing or being something. When a sentence has two or more subjects, it's call a compound subject.
These types of compound subjects are treated as plural and take a plural verb:
In these cases, the verb agrees with the subject that is closest to the verb:
Now that you have seen these compound subject examples, check out these 15 Sentences Using Compound Subjects and Compound Verbs.