Alan passed the test. Alan had studied hard. Alan had understood

Alan passed the test. Alan had studied hard. Alan had understood the material.(complex sentence)
【正确答案】:Alan passed the test because he had studied hard and understood the material.