Put the verb in brackets into the past perfect.
(not/study) You hard enough, that's why you failed the exam yesterday.
We build the past perfect using the auxiliary verb "have" in the past tense and the past participle of the main verb:
had + past participle
Regular verbs form the past participle with the -ed ending — exactly like in the past simple.
play — played — played want — wanted — wanted finish — finished — finished