The perimeter of rectangle is 26cm. The rectangle is converted to a square by tripling the width and taking a quarter of the length. What is the perimeter of the resulting square?