On the localization, size and structure of the regions of the X-ray flares on the Sun