Correct option is A
The correct active voice of the sentence "Were the cakes being baked by them?" is "Were they baking the cakes?"
Active Voice- Active voice is a grammatical structure in which the subject of the sentence performs the action expressed by the verb.
Passive Voice- Passive voice refers to a grammatical construction where the subject of a sentence undergoes an action rather than performing it. In passive voice sentences, the emphasis is on the recipient or object of the action.
Conversion rule: Did + Subject + V1+ object? -> <- Auxiliary verb (was, were) + object + past participle + by + subject?
This maintains the same tense and meaning, converting the passive construction into an active one.