If 2 grams of element X combine with 4 grams of element Y to form compound XY, how many grams of element Y would combine with 46 grams of X to form the same compound?