STRUCTURE Find the value of $x$ .
A quadrilateral is drawn. A mid segment divides the non parallel sides of the quadrilateral into equal halves. The length of base is marked as 2 x minus 2. The length of side parallel to base is 3 x plus 2. The length of the mid segment is 15 units.
$x=$