Complex sentence: Gandalf also tells Gimli that Saruman could look like me in your eyes, if it suited his purpose with you ";," in other words, Saruman can use magic to create illusions.
Split into simpler sentences: Gandalf also tells Gimli that Saruman could "look like me in your eyes, if it suited his purpose with you". In other words, Saruman can use magic to create illusions.