The perimeter of a triangle is 84 meters. The longest side of the triangle is 7 meters less than twice the length of the shortest side,x. The middle side is 7 meters longer than the shortest side. What is the length of each side of the triangle?