Retaking a low-grade class that I passed the AP exam on for UCs? + other low grade concerns

Since I already have two semesters in visual arts that are A’s which is the A-G requirement, would not retaking the first failed semester of Art 2 still make me automatically rejected because it is an F grade with no passing redo? The credit recovery program my school offers does not contain an Art 2 class, but I could complete a course in visual arts. Would this be able to overwrite the F since my school does not provide anything else and it is the closest equivalent that I have access to?