if you want to promote your site Y.com, use 301 redirection X.com to Y.com. If you use 301 redirection Google will redirect all back links, Index status, Link Juice, Page ranks which all are belongs to X.com. If you want to promote both X.com & Y.com, you need to create unique content, meta tags, niche back links & etc.