Ashley is painting a design on the floor of an office using equilateral triangles. She begins by painting the outline of Triangle 1 measuring 54 inches on a side. Next, she paints the outline of Triangle 2 inside the first triangle. The side length of Triangle 2 is 85% of the length of Triangle 1. She continues painting triangles inside triangles using the 85% reduction factor. Which triangle will first have a side length of less than 40 inches?