A rectangle has side lengths of (3x + 6) inches and (2x – 4) inches. Write an expression to represent the perimeter of the rectangle. Then find the value of x if the perimeter is 94 inches.