A triangle has a perimeter of 18 inches. If one side has length 8 inches, find the length of the shortest side if the other lengths are in the ratio of 2 units : 3 units.