If 8 is added to twice a number and the sum is multiplied by to the result is the same as if the number is multiplied by -10 and two is added to the product what is the number

(2x+8)2 = -10x+2

4x+16 = -10x+2
X = -1.