This Portland St. Patrick Catholic School math teacher made a deal with a student that he'd break-dance for her if she baked him a caramel apple pie.

After overhearing his student complaining about his math class, Terry Austen, made this sweet deal with his student.

After class, Austen performed for his student in the halls of the school.

Once Austen's part of the deal was completed, an apple pie had to be baked. On Monday, when the student brought in the apple pies, this smart teacher turned the pies into a math lesson on circumference and diameter.

So, what would you do for a caramel apple pie?