Choose your books carefully.

Literal

Books [topic-は] carefully choose-[gentle-imperative-なさい].

慎重 ('careful, prudent') is a な-adjective; its adverbial form 慎重に modifies 選ぶ ('choose'). A standard instructional phrase with a gently serious tone — the kind of advice a librarian or wise adult might give.