The possibility of forming specified surface profiles of X-ray optics elements (XROEs) for focusing and collimation of X-ray beams is considered. It is shown that the curvature of these elements can be controlled by varying the temperature of curvature regulator on the surface of which they are fixed in place. Using the calculated and experimental data, it is shown that inhomogeneity of the thickness of the curvature controller substrate influences the curvature and profile of XROEs. In particular, the possibility of obtaining parabolic and elliptical surface profiles of XROEs, which can be used to create adaptive X-ray optics elements for two-dimensional focusing and collimation of an X-ray beam is demonstrated.