A regular hexagon has a perimeter of $p$ (in length units) and an area of $A$ (in square units). If $A = \frac{3}{2},$ then find the side length of the hexagon.
The side length is 6.