If you calculate the ratio of carbon dioxide to water to be 1 to 1, then shouldn't the reaction produce equal moles of carbon dioxide and water. Clearly 0.925 mol is not equal to 2.259 moles, so you need to redo this part. Basically, you have 846.7g-765.3g = 81.4g of a mixture of water and carbon dioxide. You know that the mole ratio of carbon dioxide to water is 1, so you can find the number of moles of carbon dioxide and the number of moles of water in the mixture.
From these numbers of moles and your balanced chemical reaction, you can calculate the amount of oxygen gas which was used up in the reaction. Also, from the final temperature, pressure, and volume of the container, you know the amount of oxygen gas which remains after the reaction. Therefore, you can use these two numbers to find the initial number of moles of oxygen gas in the container.
Now, from the initial temp, pressure, and volume, you can find the total number of gas molesules in the container initially. Since the initial number of moles = initial number of B and initial number of oxygen molecules, you can find the initial number of molecules of B. Using some logic and your chemical equation, you should be able to figure out the correct formula for B from the number of molecules of B which reacted and the number of molecules of water and carbon dioxide produced.