A triangle has an area of 24 square inches the height of the triangle is 8 inches what is the length of the base of the triangle