Complete geometric invariant study of two classes of quadratic systems