An architect designs apartment buildings with the same ratio of small to large apartments. Building A has 12 small apartments and 6 large apartments. Building B has 18 small apartments.