Situational Writing probably, (context: formal)
----------------------------------------------
Answer:
Dear, (whoever is your audience)
I am sorry for what has happened. The team had arrived late (the purpose) due to some problems. I apologize for the issue and we will not consider being late again. Thank you for your understanding.
Best wishes (greeting),
(Writer)