Past (Imperfect) subjunctive with noun clauses. This is fancy grammar talk for a sentence with at least 2 clauses; the verb in the first (or main) clause.
This is fancy grammar talk for a sentence with at least 2 clauses ; The verb in the first (or main) clause determines whether or not the verb in the second.