In this paper we will study the structure of algebras A(Γ ) associated to two directed, layered graphs Γ . These are algebras associated with Hasse graphs of n-gons and the algebras Q n related to pseudoroots of noncommutative polynomials. We will find the filtration preserving automorphism group of these algebras and then we will find the multiplicities of the irreducible representations of Aut( A(Γ )) acting on the homogeneous components of A(Γ ) and A(Γ ) ! .