Since we want to make an analogy, we should also be consistent with the previous author's examples and the names of the later works, and item B is consistent.
Of course, the questioner may have the following questions.
Wang Xizhi only wrote Preface to Lanting Collection, and other chapters of Preface to Lanting Collection were written by other celebrities who attended the meeting at that time. However, looking at the four options, item B can only be regarded as an analogy with the example, and there is nothing else.
1. The heavenly king sent a painting, written by Wu Daozi.
C, Du Du Fu, the author should be Ban Gu.
D, Water Margin, was written by Shi Naian, and some studies said it was Luo Guanzhong, but Song Jiang himself was a character inside, not the author.