AB is the mid segment of trapezoid DEFG. What is x?

Answer:
Option A [tex]x=2[/tex]
Step-by-step explanation:
we know that
In this problem
[tex](EF+DG)/2=AB[/tex] -----> because is the mid segment of trapezoid DEFG
substitute the values and solve for x
[tex]((8x+2)+(5x-4))/2=12[/tex]
[tex](8x+5x)+(2-4)=24[/tex]
[tex]13x=24+2[/tex]
[tex]13x=26[/tex]
[tex]x=2[/tex]