Two independent harmonic oscillators of equal mass are oscillating about the origin with angular frequencies ω1 and ω2 and have total energies E1 and E2, respectively. The variations of their momenta p with positions x are shown in the figures. If ab=n2 and aR=n, then the correct equation(s) is(are):