The perimeter of a rectangle is equal to the length of all four sides added together. We use this formula to figure it out:
P = 2L + 2W
where P = perimeter, L = length, and W = width.
We know that L = 3x + 2 and W = 2x (the problem, as you wrote it, says "length" is 2x but you already said that length is 3x + 2 so I think you might mean width there).
So:
P = 2 (3x + 2) + 2 (2x)
P = 6x + 4 + 4x
P = 10x + 4