A cyclist travels from city X to city Y. On the way, 2/3 of the distance is through a forest, while the rest is through a mountain pass. If the cyclist covers 18 kilometers through the mountain pass, how far apart are cities X and Y? Let's think step by step and output the final answer within \boxed{}.
user