Rogue Wave Solutions and Modulation Instability With Variable Coefficient and Harmonic Potential