Translation:도서관에 책 예순한 권만이 있습니다.
What is 권만이?
권 is the counter for books, 만 is only, 이 is the subject particle
Why can't we put "library" right before the verb and not in the beginning?
Technically you can but it doesn't sound as natural when speaking.