both angles given need to equal each other
5x-4=2x+14
add 4 to both sides
5x=2x+18
subtract 2x from each side
3x=18
divide 18 by 3
18/3=6
so x = 6