Think recursively (i.e., use top-down design and stepwise refinement!):
What is the base case? Answer: The marker beeper is at the origin.
So, what does Karel have to do? He has to make sure that there is exactly 1 beeper at the origin.
(Need another hint? Click here.)