Formation of G major scale