I am not really sure.
Maybe you could do it by 2 times like make 2 areas ( Area 1 then Area 2 ) so it walks to a1 firstly to do an action there and then starts walking to a2.
also to randomize it so it doesn't do the same thing as always I would recommend adding a random area in a1 like the x you wanted +random(1,10) and y+random(1,10) so it doesn't stop at the same place as always.
This will make it going far away from the area within 1-10 steps.
but may I know what do you need that for and what will be the usage of that?
Good luck!