Two elements X (at. mass 16) and Y (at. mass 14) combine to form compounds A, which combine with a fixed mass of X in A,B and C is 1:3:5.