The sentence that uses a comma to separate two independent clauses is:
Stu likes cake, but I like brownies.
In this sentence, "Stu likes cake" and "I like brownies" are both independent clauses that could stand alone as sentences, and they are connected by the coordinating conjunction "but," with a comma before it.