The length of the longest side of a quadrilateral is 5 cm more than three times the cube of the length of the shortest side. The length of another side is 6 cm less than the square of the length of the shortest side. The length of a third side is 7 cm more than four times the length of the shortest side. What is the perimeter of the quadrilateral, in terms of , the length of the shortest side?
