We can multiply all amounts by y and then divide them by x.