I have twin 3rd graders. I do math and language arts together. Sometimes in spelling (with AAS) I would physically be in between them to make them focus on the tile board and not on each other. In math they do get competitive to see who "gets it" first. But I teach until they both get it. If one "gets it" much quicker than the other, then I'll become the student and she teaches both of us. I ask leading questions to make sure they other understands and by her teaching I know she really understands. I suppose they are both at similar levels. The only thing I do individually is reading aloud. They each sit with me and read through a passage at their level.
I used to lose my patience when they were not paying attention, but now I expect it of them. If they don't, they lose something (immediately - no warnings) like their screen time. Of course, I will tailor lessons to their patience level. Short quick lessons, with enough breaks and snacks to keep them focused.