In 'se' clauses referring to hypothetical past situations, the trapassato prossimo often appears in the 'se' clause with conditional perfect in the main clause.
Trapassato Prossimo — Hypothetical Past1 / 10
Se ___ (studiare) di più, avresti passato l'esame.