Theoretical Treatment of the Diffusion Coupled with Reaction, Applied to the Example of a Binary Solid Compound MX