The law states that if two different elements combine separately with a fixed mass of a third element, the ratio of the masses in which they combine are either the same or are in simple multiple ratio of the masses in which they combine with each other .