You are doing it correctly. To fill in the blank, it is photosynthesis. For photosynthesis, you need water and carbon dioxide, and solar energy, which are your reactants. Your products are glucose and oxygen (the water, from the reactant, goes through hydrolysis to make oxygen).
I hope this helps you and good luck! :)