Can anyone answer my question
Wolfram/Alpha claims that it can solve chemical equations. Try one of your equations and see if it gives you a meaningful answer. If it does, then I can give you the steps it uses to arrive at that answer. Good luck.
I understood that