Two independent harmonic oscillators of equal mass are oscillating about the origin with angular frequencies $\omega_1$ and $\omega_2$ and have total energies $\mathrm{E}_1$ and $\mathrm{E}_2$, respectively. The variations of their momenta p with positions x are shown in figures. If $\frac{a}{b}=n^2$ and $\frac{a}{R}=n$, then the correct equation(s) is (are):