There is a line segment #EFG#. If #EF = 10x + 10, FG = 22,# and #EG = 182#, what is the value of #x#?