How to Write a Compound Sentence?

A compound sentence is two sentences in one, and the two are separated by a comma. That first sentence is a compound sentence, and so is this one.