For the first one note that, . Now, . So, let be given. Choosing ensures that . We may conclude that . Using similar techniques we may conclude that . We may therefore conclude that

For the second one, note that which for a sufficiently small neighborhood around is strictly less than . So, let be given, then choosing ensures that . The conclusion follows.

P.S. Technically, the second should be