B - Alejandro wrote the song that Millie hoped to play in the talent show.
To have an active voice the subject should come before the verb (Alejando wrote and Millie hoped) the other options had the predicate before the verb and had the action happening to them.
Answer:
Alejandro wrote the song that Millie hoped to play in the talent show.
Explanation: