1. Past Condition / Present Result:if + past perfect, would (could, might) + infinitive
if we hadn't missed our flight we'd be in Spain now
2. Present Condition / Past Result
f + past simple, would (could, might) have + past participle
if I was more diligent, I would've finished my degree at university