Complex sentence: On July 2, the Second Continental Congress voted to declare independence, and on July 4 they agreed to the final wording of the Declaration of Independence.
Split into simpler sentences: On July 2, the Second Continental Congress voted to secede. Two days later, they approved the final wording of a public declaration regarding their decision, whhich we today call the Declaration of Independence.