The ant's path is 16 inches and the beetle's path is 10 inches. The ant will get to the sugar first.
Calculation of the inches:
The path of the beetle should be 10 inches
And, the path of the ant should be
= length of the frame + (half of 10 + 1)
= 10 + (0.5 of 10 + 1)
= 10 + 5 + 1
= 16
So based on this, we can conclude that Here ant should get sugar first.