I need to find the Value of x

Answer:
x = 4
Step-by-step explanation:
These triangles are similar by the AA Similarity Postulate.
12 + 4 = 16
(5x - 2)/12 = 6x/16 (3x/8)
Cross multiply: 8(5x - 2) = 12(3x)
40x - 16 = 36x
4x - 16 = 0
4x = 16
x = 4