How does the sentence end?

Carrie asked Angela what medicine the doctor had said to get because
Carrie  had forgotten.