There are two tengents in the picture. The two tangents being drawn from the same point to the circumference of the same circle are aslo the same in their lengths. In other ways, the two tengents in the picture are the same.
So, 4x - 2= 3x + 18
4x - 3x = 18 + 2
x = 20
So, the value of x is 20.