In the present paper, we classify varieties of algebraic systems of the type ((n),(m))((n),(m)), for natural numbers nn and mm, which are closed under particular derived algebraic systems. If we replace in an algebraic system the nn-ary operation by an nn-ary term operation and the mm-ary relation by the mm-ary relation generated by an mm-ary formula, we obtain a new algebraic system of the same type, which we call derived algebraic system. We shall restrict the replacement to so-called “linear” terms and atomic “linear” formulas, respectively.