Text this: Modeling from the first principles of the electronic properties of compositions of REE as precursors of high-temperature superconductors