Did you look at the book in the library?
It doesn't help much, does it?
Graham has memorized the contents, so you can cast certain spells now.