Original: The young twigs are green at first, becoming purplish where exposed to sunlight, then gray in their second year.
Simplified: The young twigs are green at first, but they become purple when sunlight goes on them. When they are in their second year, they turn gray.