how would you find the theoretical yield of a reaction where all reactants and products are in 1:1 ratio, and there are two products formed which have the same MW. (products are collected as one..not separated)

After finding the number of moles, I just multiplied by the MW, which gives the mass of one product. Then to find the total mass, I just multiplied by 2.

A friend of mine did it another way. They found the number of moles, divided by 2 and then mutiplied by the MW. This didn't make much sense to me.

Can someone clarify which way is correct and why?

I think I would like to see the reaction.