Answer: x = -9
=========================================================
Step-by-step explanation:
Refer to the diagram below.
I've added the points A,B,C,D,E, and F to help set up the angles.
I've marked angle 2 as the variable y, which is angle DBA. I've also added in the variable w to help fill out triangle DBA. Those two remaining angles are congruent due to the congruent sides AB = DB. They are the base angles. Triangle DBA is isosceles.
Right next to angle DAB is angle CAB. These two angles combine to form the 90 degree angle. So that's where the 90-w comes from when setting up angle CAB. We have another isosceles triangle, so angles CAB and ACB are congruent.
Next, we can see that angles ACB and ECF are vertical angles. That makes them congruent and we can solve for w like so:
angle ACB = angle ECF
90 - w = 38
-w = 38-90
-w = -52
w = 52
---------------------
Now focus on triangle DBA again. The three angles add to 180, so,
w+y+w = 180
2w+y = 180
y = 180-2w
y = 180-2*52
y = 180-104
y = 76
This is the measure of angle 2. We have one more step left.
--------------------
Since we now know the measure of angle 2, we can use this to find x
angle 2 = 76 degrees
angle 2 = x+85
x+85 = 76
x = 76 - 85
x = -9