Theoretical derivation of bound and continuum states of two-electron ions with model potential