Active particle in one dimension subjected to resetting with memory | Synapse