The subject of the Active Voice is changed into the object of the Passive voice. Also, the object of the Active Voice is changed into the subject of the Passive Voice.
The usage of a "to be" form of verb is necessary while changing the voice of the sentence from Active to Passive.
In Passive Voice, the preposition "by" is used before the object. However, it is optional in some cases.
These types of questions contain Modal verbs. Some of the modal verbs are: Can, could, may, might, shall, should, will, would, must, ought to.
The format of such a sentence in Active Voice is: Subject + Modal + V1 + Object.
Thus, in Passive voice, the format will be: Object of the active voice (Subjective case) + Modal + be + V3 + by + Subject of the active voice (Objective case).
For example:
You can do this. (Active Voice)
This can be done by you. (Passive Voice)
The options except (c) don't follow the correct grammatical format of the Passive Voice.
Therefore, the correct answer is option (c): Books can be bought online from Amazon.