The legs of a right triangle are represented by the expressions 2x and 2x-1. The hypotenuse of the same triangle is represented by the expression 3x - 1 1. What is the perimeter of the triangle?