An ant goes from point A to B along the indicated path in an equilateral triangle with side length 5 units. If the distance between horizontal lines is the same as distance between point A and the first line, how long is the entire pathway?
(Assume all horizontal lines are parallel to BC)