How is a compound sentence formed?

by jointing a simply sentences with a dependent clause

by jointing two simple sentences with a comma and a coordinate conjunction


by jointing two independent clauses and one dependent clause


by jointing a dependent and independent clause with a conjunction