In the paper we describe the derivations of two N-graded infinity-dimensional Lie algebras n 1 and n 1 what are positive parts of affine Kats-Moody algebras A (1) 1 and A(2) 2 , respectively. Then we construct all pro-solvable Lie algebras whose potential nilpotent ideals are n 1 and n 2 . For two specific representatives of these classes low-dimensional (co)homology groups are computed.