By the vertical angle theorem, the two angles '5y + 12' and '82' are equal
⇒
Thus x = 14
Hope that helps!
p.s. Definition of Vertical Angle Theorem: angles that are opposite each other and formed by two intersecting straight lines, are congruent
p.s. Diagram for what is Vertical Angle Theorem: