The square had a side length of 3x+13.
Because the perimeter is 12x+52, you have to divide that by each of the four sides.
5.3m questions
6.9m answers