At first, Shiyun had $118 and Marion had $90. Shiyun bought the sandwich maker and Marion bought the slow cooker. Both were at the same price. The amounts of money Shiyun and Marion had left were in the ratio 9 : 2. How much did the sandwich maker cost?