Title: Third conditional

We use the 3rd conditional to talk about the past: making the result impossible.

If condition (past perfect), result (conditional perfect*).

or

Result (conditional perfect*) if condition (past perfect).

* In some cases could be used instead of would; when there is a desire to emphasise that, given the condition, there would have been an opportunity.