The second side of a triangular deck is 6 feet longer than the shortest side, and the third side is 6 feet shorter than twice the length of the shortest side. If the perimeter of the deck is 48 feet, what are the lengths of the three sides?
x=shortest side length
x+x+6+2x-6=4x=48
x=12 second side=18 third side =18