Answer:
Both of them are COMPLEX.
1- Complex, as we have the suboridinator who coming in the position of the subject.
2- The coordinator and is just joining two words, so it's not a compound sentence as it's not joining two clauses. But whenever is a subordinator so it forms a complex structure.