Understanding Borrow and ToOwned

This is how I solved my problem.