what is the value of x in the rectangle

Perimeter=24 meters
the side is (x+3)
The bottom is 2x

P = 2L + 2W

24 = 2(x + 3) + 2(2x)

24 = 2x + 6 + 4x

24 - 6 = 6x

18 = 6x

3 = x