Andrea wanted to go on the school trip.
Finally, the results were posted and saw that she had passed.
Andrea had to fail an exam to earn the right to go.
Andrea had to pass an exam to earn the right to go.