The given sentence belongs to Conditional Sentence Group II which indicates an improbable condition and has the form --- If clause + Simple Past Tense and could/might/should/would + Base form of the Verb in the Main clause. But the first person Singular will always be were.