2. (10 points) Prove that if K ⊆ R is a nonempty compact set and...