Correct option is D
The correct passive voice is "By whom were you invited to this party?"
Rules for Conversion from Active to Passive Voice:
· Identify the object, verb, and subject in the active sentence.
· Use the structure
"By whom + helping verb + subject + past participle + remaining sentence."
Active Voice:
· Subject + verb + object.
·
Passive Voice:
· Object + helping verb + subject (if required) + past participle.
Example:
Active: Who wrote this book?
Passive: By whom was this book written?