When you have two parallel lines being cut by a transversal, you can use the next statements for the angles:
The measurement of the angles in green is the same (are congruents)
The measurement of the angles in blue is the same (are congruents)
An angle in green is a complementary angle with an angle in blue. (The addition of the two angles has to be 180º)
You know that:

As the angle 3 is congruent with angle 2:
The answer is 3. I hope this helps!
To solve for x, we will begin by using the distributive property
6x - 2(x + 4) = 12
6x - 2x - 8 = 12
(always remember to sort your negatives!)
Add like terms
4x - 8 = 12
Add 8 to both sides
4x = 20
Divide both sides by 4
x = 5