1. If you had studied for the test, you would have passed it.
В условных предложениях третьего типа (Type 3) в придаточном предложении (if-clause) используется Past Perfect, а в главном предложении (main clause) используется would have + Past Participle.
Ответ: If you had studied for the test, you would have passed it.