The pluscuamperfecto is formed with the imperfect of haber (había, habías, había, habíamos, habían) plus a past participle: había terminado, habías comido, habían salido. The participles are the same as in the pretérito perfecto, including the irregular ones: hecho, escrito, visto, dicho, puesto, vuelto, roto, abierto. This course uses ustedes habían, not habíais.
Use it when one past action is already finished before another past action: Cuando llegamos, ella ya se había ido. The earlier action takes the pluscuamperfecto; the later one is usually in the indefinido. Ya, todavía no and antes often appear with it: Ya había cerrado la oficina cuando yo llamé.
Do not use the pluscuamperfecto for a single past event with no earlier action (Ayer terminé el informe, not *Ayer había terminado el informe, unless another past event is in view).
English speakers forget the accent in había, or they use the indefinido for both actions and lose the idea of “already before.”