If EF= 10x+12, FG=14, and EG= 136, what is the value of x?