A “mote” is a tiny speck of sawdust. A “beam” is a plank. As a carpenter, Jesus knew about such things. He probably had sawdust specks in his eyes many times.
Who really walks around with a plank hanging off his or her eye? Tim Keller says this is Jesus doing standup comedy to make a serious point.