In the paper we describe the derivations of two N-graded infinite-dimensional
Lie algebras n1 and n2 which are the positive parts of the affine Kac-Moody
algebras A(1) 1 and A(2) 2 , respectively. Then we construct all
pro-solvable Lie algebras whose potential nilpotent ideals are n1 and n2 and
compute low-dimensional (co)homology groups of the pro-solvable Lie algebras
constructed.