Since ABCD is a rectangle, AB and CD are parallel sides. This means that you can set AB equal to CD to solve for x. It would be:
1/2x+6=5/2x-2.
6=4/2x-2
8=2x
4=x
So the answer would be e. 4.
Hope this helps!