This is a homework problem in my algebra analysis class. I'm not really sure where to begin. I need to prove the statement below.

Y X where X is a metric space with function d. Then (Y,d) is a metric space with the same function d. How can I show that X and Y have the same metric function?