Consider its horizontal and vertical perambulations separately. Horizontally, its displacements are
That is, 10 units to the right, units to the left, units to the right, to the left, and so on.
Vertically, it moves
That is, 5 units up, units down, units up, units down, and so on.
Now sum these two infinite geometric series.