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.
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.