C48H82O41
The monosaccharides such as glucose, fructose, galactose, and others can react together, in the process forming a new polymer and a molecule of water. For instance, 2 glucose molecules can polymerize producing a maltose molecule and a water molecule. This process can be extended for an arbitrary length. And for every n molecules polymerized into a single chain, n-1 molecules of water is released. So with the given 8 glucose molecules, 7 water molecules will be also created as well as the polymer.
First, determine how many atoms of each element will be used to create 7 H2O molecules.
Hydrogen = 2 * 7 = 14
Oxygen = 1 * 7 = 7
Now multiply the number of each element in glucose by 8 and if you're dealing with oxygen or hydrogen, subtract the number that's used in the creation of water.
Carbon = 6 * 8 = 48
Hydrogen = 12 * 8 - 14 = 82
Oxygen = 6 * 8 - 7 = 41
Therefore the resulting polymer is C48H82O41