Answer:
x=6
Expiantion:
First i multiplied 2 and x then 2 and 14 and got 2x and 28 then subtracted 28 from 40 and got 12 then divided 2 from 12 and got 6.
2(x+14)=40
2x+28=40 40-28=12
2/12=6