The imperfect yafhamu is indicative. Qad may express possibility rather than certainty.
Opening interactive controls...
A Non-certain Imperfect Example
Qad: Expectation, Confirmation and Contextual Meanings
The imperfect yafhamu is indicative. Qad may express possibility rather than certainty.