A-G Requirements

Hi I’m going to be a freshman in high school this year, and i am taking a class consisting of geometry AND algebra 2 in the same year (geometry/algebra 2), and then algebra 2/pre calculus in my sophomore year. Are those two classes A-G approved? Thank you for your help.