The second side of a triangular deck is 3 feet longer than the shortest​ side, and the third side is3 feet shorter than twice the length of the shortest side. If the perimeter of the deck is 52 ​feet, what are the lengths of the three​ sides?