SECOND COHOMOLOGY GROUP OF GENERALIZED WITT TYPE LIE ALGEBRAS AND CERTAIN REPRESENTATIONS