A Method of Synthesizing Pyrimidine Derivatives