When a compound subject is joined by neither-or, with what does that verb agree?

a: predicate nominative after the verb

b: object of the preposition

c: first subject in the sentence

d: the subject nearest (closest) to the verb​