Number of visits can be only a whole number, the solution should be 9 visits
Using a graphical tool we obtain that the solution of this system
(intersection between the lines)
is given by the point
(x,y) = (2,4)
28 m because it is the smallest number
The answer is 26 but if you are talking about absolute value it is still 26