"For example, we call this a coffee mug, or just a mug. We have all agreed to call it this. We wouldn't call it an earwig. But how do we know or understand what is right?" ...

He answers his own question we have all agreed to call it that
It is Consensus - a shared body of view.

Then he goes off on a tangent about what is right !

From what I have seen and heard of philosophy professors, they ask questions to which they have already formulated the answers they want to hear. (the "correct answer.")
The discussions then are really arguements where each tries to bring the other around to giving the pre-determined (aka correct) answer.
What is really unconscionable is when they pose these questions to youngsters and do nothing to increase their knowledge but instead just embarrass and humiliate them ... unless, that is, one lucky youth stumbles on the "correct" answer ... but don't worry the Prof has yet another twist in waiting.
Arrgggghhhhh

OTOH (people) all agreed to call it this and why they did and how they did and the evolution of words in language and all attendant mysteries are what this place is about.
Send him here to discuss WORDS ... tell him to take his philosophy questions elsewhere - to discombobulate those who give a rat's asterisk!

Dr Bill is right - it is headache-making - to say nothing of the nausea.