The top one seems to be ok as it actively encourages you to share it. However, as it’s a pharmacology book please ensure it’s “real” and not just made up science and fake medicines. In other words it should meet, at the very least, the Indian Government’s standards or Western standards.
For the second book you’ll need permission. Pearson is a major international publisher and I don’t rate your chances of getting permission but you can try and speak to them.
Also what I meant about it being “real” is not that you have an original copy. What I mean is it contains genuine scientific material and not made up stuff that fake or witch doctors claim.
If the files are copyright your app is against Google Play policies.
“Oh but the download or reading doesn’t happen at my app”
It won’t matter if your app is reported.
Now, if it is a small app you probably won’t have problems. But it is not legal and it is agains Google Play’s policies.