Which of these is a compound sentence? (pls leave an explanation if possible)

A. Lucy and Richmond heard about work in California.
B. They could buy some land and a house in California´s Central Valley.
C. Folks were struggling to survive in most places, but in California they had jobs.
D. Lucy and Richmond packed up, hopped on a train, and went west.