The perimeter of a square can be determined by the expression 6x + 12 centimeters. If the perimeter of the square is 72 centimeters, what is the value of x ?