This question is about telling apart simple, compound, and complex sentences by counting clauses and checking whether each one can stand alone.
Because the second action rides on the subject of the first clause instead of forming its own complete, standalone clause, the sentence is best read as one main clause with a dependent second part.
Let's summarize:
So the given sentence is a complex sentence, confirming option (b) as the answer.