What is the verb tense underlined in the sentence below?

"The teacher thought we had understood the book."