Lend: means to give something to someone to be used for a period of time and then returned
Borrow: To get something
Bought : getting something by paying money for it.
Gave: It’s wrong because “from” is used in the sentence
In this case we don’t pay money to the library .so option A is answer