Early Results From GLASS-JWST. XVII: Building the First Galaxies -- Chapter 1. Star Formation Histories at 5