The relationship between goods X and Y is substitute goods. For example: If the price of Tata Tea (X) rises, many people will shift from the consumption of Tata Tea to the consumption of Halmira Tea (Y) will increase and that of Tata Tea will decrease. Hence, the demand for Halmira Tea (Y) has increased because of increase in price of its substitute Tata Tea (X).