Answer explained
The house caught fire. All the books were burnt. (Choose the correct option)
Correct answer: (B) The house having caught fire, all the books were burnt
A perfect participle construction ("X having happened, Y happened") correctly joins the two sequential past actions.