A square and an equilateral triangle have the same perimeter. Each side of the triangle is 3 inches longer than each side of the square. What is the perimeter of the square?

If the square has side x, then

4x = 3(x+3)
x = 9
so now you can answer the question.