Lagrange identity for polynomials and -codes of lengths 7 and 13