EXERCISE 12–8 Dangling modifiers
Example:

To acquire a degree, a student must complete two science courses.

To acquire a degree, two science courses must be completed.

In the first sentence, the person doing the action (a student) is named in the subject, so the opening phrase doesn’t dangle.

For more help, see section 12e.