Two chemicals, Z and X react completely to form a product, Y. If 8.7 grams of x react to produce 19.5 grams of Y, how many grams of Z must have reacted to form this much product?