Final answer:
The compound sentence from the provided options is D, which contains two independent clauses joined by the coordinating conjunction 'and'.
Step-by-step explanation:
A compound sentence is defined as a sentence that contains at least two independent clauses. There are several ways to join these clauses, such as using a semicolon, a comma followed by a coordinating conjunction (for, and, nor, but, or, yet, so - FANBOYS), or a semicolon followed by a conjunctive adverb. Considering the options provided, option D saying, "Erin and Maria are going to the mall, and John is going to the movies." is a compound sentence because it has two independent clauses joined by the coordinating conjunction 'and'.