Celtics star point guard Rajon Rondo showed his talents extend beyond the basketball court Tuesday when he stopped into to a Boston area high school to teach some ninth graders the finer points of algebra.

“Teaching freshman algebra with Ms. Oshodi at Burke high school this AM. Thx for having me,” Rondo tweeted along side a picture that showed him solving the math problem 3(x-7) + 5 = 26.

(For those of you wondering, when solving for x, the answer is x=14.)

According to Burke High School math teacher Kehinde Oshodi, Rondo spent about 20 minutes at the white board and encouraged students to consider the entire structure of an equation rather than just diving in to solve it.

“I’d give him an A,” Oshodi told The Huffington Post. “He was putting me on the spot asking for more problems to solve. He was on point.”

Oshodi added that Rondo used some of his lesson to show a student who had correctly solved an equation a more efficient means of arriving at the answer.

Rajon didn’t stop there however. After his trip to Burke High, the 26-year-old, three-time All-star then visited nearby Harbor Middle School to preach the value of a quality education.

TMZ notes that the kicker to Rondo’s eventful Tuesday was that the Celtics’ playmaker reportedly planned the visits without the help of any public relations personnel.

Next up on Rondo’s docket: The Celtics are scheduled to take on the Washington Wizards (0-2) Wednesday. For the season, Rajon Rondo is averaging 15.3 points, 12 assists, 5.3 rebounds, and 1.7 steals per game.