The sentence that uses a comma to separate two independent clauses is:
Stu likes cake, but I like brownies.
This sentence contains two independent clauses ("Stu likes cake" and "I like brownies") connected by the coordinating conjunction "but," and the comma correctly separates them.