Exact solutions and coherent states for a generalized potential