Se cumple que (g ◦ f)(A) = g(f(A)) y (g ◦ f)(B) = f(g(B)).