After the rain stopped, the sun came out and the birds started singing. [Complex sentence: "After the rain stopped" is the dependent clause, and "the sun came out and the birds started singing" is the independent clause.]
She will finish her homework before she goes to bed. [Complex sentence: "before she goes to bed" is the dependent clause, and "She will finish her homework" is the independent clause.]