On our drive into the city, we came across an accident. Which had closed three of the four lanes of traffic. It added an extra hour to our trip.
The passage should be corrected to be proper sentences.
On our drive to the city, we came across an accident which had closed three of the four lanes of traffic. Because of the accident, an extra hour was added to our trip.
Your answer is completely fine. It sounds great.