Correct

代笔

/ dàibǐ / 
Strokes

Definition

to write on behalf of sb/to ghostwrite

Example

As a Verb

write on sb's behalf; ghostwrite (a book, an article, etc for anther person)

1
Tā
他
de
的
huíyìlù
回忆录
shì
是
yóu
由
réndàibǐ
人代笔
de
的
  
。

His memoirs were ghostwritten.

2
Dàibǐ
代笔
yízhǔ
遗嘱

dictated will