A compound sentence is made up of two or more simple sentences joined with a conjunction.
Complex sentences must include at least one dependent clause introduced by a subordinating conjunction or a relative pronoun and an independent clause.
A compound-complex sentence has one complex sentence joined to a simple sentence with a conjunction.
Therefore, the sentence, "because our favorite restaurant was closed, we decided to cook dinner at home." is a complex sentence. This is the correct answer because the dependent clause, "because our favorite restaurant was closed" was introduced by the subordinating conjunction, "because". It also has an independent clause, "we decided to cook dinner at home."
Gives us a way to understand patterns, to quantify relationships, and to predict the future. Math helps us understand the world — and we use the world to understand math. ... It can also predict profits, how ideas spread, and how previously endangered animals might repopulate.
My best guess would be the third choice.