PLease help i dont know how to do this please explain too!!

Answer:
6.25
Step-by-step explanation:
The perimeter is the sum of the lengths of the sides.
For a rectangle, it's the two widths plus the two heights.
P = 2W + 2H
Plugging in values:
52 = 2(3x − 1) + 2(x + 2)
52 = 6x − 2 + 2x + 4
52 = 8x + 2
50 = 8x
x = 6.25
Find the value of x.
Perimeter of rectangle = 2 ( l + b )
We know that,
Perimeter of rectangle = 52 [ Given ]
⇒ 2 ( l + b ) = 52
⇒ 2 ( 3x - 1 + x + 2 ) = 52
⇒ 2 ( 4x + 1 ) = 52
⇒ 8x + 2 = 52
⇒8x = 52 - 2
⇒ 8x = 50
⇒ x = 50/8
⇒ x = 6.25 inches