the lengths of the sides of a triangle are x, x - 5, 3x centimeters. if the perimeter is 80 centimeters, what is the value for x?​