The correct answer is B, 'compound-complex sentence', because this particular sentence consists of two independent clauses ('gracefully, the dancer took a bow) and ((the dancer) smiled) and one dependent clause (before she left the stage), which is the definition of a compound-complex sentence.