gf = 1_A y f g = 1_B.