It has a great based, yet we want it to be more formal. A good example would be “Hello “teacher”,
I do apologies for my response in today’s attendance question response. It was not to be targeted towards you, but to my brother who has a tendency to correct me a lot. I appreciate you as a teacher and I have no issue with you correcting me on proper grammar usage.”