Simply replace the unfilled areas such as "[]" and "[date]" with your information.
Dear,
Due to prior engagements, I am sorry to inform you that I will have to decline your invitation to [event]. Hopefully next time I will be able to attend. Thank you very much for thinking of me.
Sincerely,