How are the three pathways of photosynthesis similar in terms of carbon and the formation of carbon-based molecules?