How does the sentence end?

Angela is better at learning new things as opposed to Mary due to
Angela being more intelligent.