Worked Examples: Pythagorean Theorem and the Distance Formula