If with the rise in price of good Y, demand for good X rises, the two goods are:
Substitutes
As the price of a good increases, more people will opt for a substitute and the demand for substitute increases. Demand for compliments, meanwhile decrease.