an equilateral triangle and a regular pentagon have the same perimeter. Each side of the pentagon is 3 inches shorter than each side of the triangle. what is the perimeter of the triangle?