Detour of an Ant
An ant is walking along the cartesian plane. It starts at the point \(A=(-18,8)\) walks in a straight line to a point on the \(x\)-axis, walks directly to the right for 7 units and then walks in a straight line to the point \(B=(9,13)\). What is the shortest distance that the ant could have walked?
Details and assumptions
"Walks directly to the right for 7 units" means that the ant walked from a point \( (x,y) \) to the point \( (x+7, y) \).