For photosynthesis, it is 6CO2 + 6H2O ------> C6 H12 O6 + 6O2
However, for cellular respiration, it would be C₆H₁₂O₆ + O₂ → CO₂ + H₂O + energy
For photosynthesis, the word form would be carbon dioxide + water —> glucose + oxygen + water.
For cellular respiration, the word form would be glucose + oxygen → carbon dioxide + water + energy
Hope I helped!