Step 1: Set up
Both triangles share a diagonal d, with $d^2=19$ from the triangle with sides 2 and 5.
Step 2: Area condition
The area equation gives $\frac{\sqrt3}{4}xy=4\sqrt3-\frac{5\sqrt3}{2}$, so $xy=6$.
Step 3: Final value
From $x^2+y^2+xy=19$, $x^2+y^2=13$, so $x+y=5$ and the perimeter is $7+5=12$.
Final Answer:
The perimeter equals 12 units.
\[ \boxed{\text{(C) }12} \]