An isosceles triangle has a perimeter of 36 inches. Its base is 2 1 /2 times longer than each of its legs. What are the lengths of the sides of the triangle?