The perimeter of a triangle is 51 meters.The second side is twice as long as the first. The third side is 3 meters less than three times the first. What is the length of the second side of the triangle?