Answer:
Subjunctive.
Step-by-step explanation:
The verb "were" is in the subjunctive mood because it is indicating a hypothetical situation. Also, In the subjunctive mood, the verb to be in the past tense for the first and third person in the singular is were instead of was. If the sentence is in the present with these same subjects, the verb does not have final -s.