Once you find the book the librarian is looking for (in a locked chest) he will give you the second volume, which contains a spell to reverse the dragon transformation.