The structure of transformation as follows: Subject+V2+Object.
(Active Voice) Subject (objective case)+was/were+V3+Object (Subjective Case).
(Passive Voice) 'He' will be changed into 'him'.
'Was given' will be changed into 'gave' as per the structure.
Hence, by applying the above structure in the given sentence we find that the correct answer is Option 2.