The correct option is B The books had been organised by Jim.
The correct answer is, ‘The books had been organised by Jim’. The sentence begins with the receiver of the action ‘the books’. It is followed by the helping verb ‘had’, form of the ‘be’ verb ‘been’, the past participle form of the verb ‘organise’, ‘organised’, the preposition ‘by’ and the doer of the action, ‘Jim’.