Harmonic motion problem explanation