Answer:
a) Compound
The sentence consists of two independent clauses "Cats are good pets" and "They are clean and are not noisy". The two independent clauses are connected by for, a coordinating conjunction.
b) Complex
The sentence consists of one independent clause "He makes a lot of mistakes" and one dependent clause "Even though he's thoroughly trained".
Explanation: