Hermione Granger helps with a magical problem using her skills