Evaluation of the low-lying energy levels of two- and three-electron configurations for multicharged ions