I was wondering if you could help me with this proof I have for metric spaces. I understand the theorem and the idea I just don't understand how to proceed. I am attaching the question.
Here is how I think I should proceed: So, Let U = Q(i.e. rational numbers), Y = [0,1], and X = R(i.e. real numbers).
Am I doing it right?