Ramsey theory influences the dynamics of mechanical systems, which may be described as abstract complete graphs. We address a mechanical system which is completely interconnected with the two kinds of ideal Hookean springs. The suggested system mechanically corresponds to the cyclic molecules, in which functional groups are interconnected with two kinds of chemical bonds, represented mechanically with two springs k1 and k2. In this paper, we consider a Cyclic system (molecule) built of six equal masses m and two kinds of springs. We pose the following question: what is the minimal number of masses in the such a system in which three masses are constrained to be connected with spring k1 or three masses to be connected with spring k2? The answer to this question is supplied by the Ramsey theory, and it is formally stated as follows: what is the minimal number R3,3? The result emerging from the Ramsey theory is R3,3=6. Thus, in the aforementioned interconnected mechanical system will be necessarily present the triangles (at least one triangle), built of masses and springs. This prediction constitutes the vibrational spectrum of the system. Thus, the Ramsey Theory supplies the selection rules for the vibrational spectra of the cyclic molecules. Symmetrical system built of six vibrating entities is addressed. The Ramsey approach works for 2D and 3D molecules, which may be described as abstract complete graphs.