The ratio of the sides of a triangle is 2:6:7. If the perimeter of the triangle is 195 meters, what is the length of the longest side?