[tex] = \tt8x + 12 = -3x + 3 + 31[/tex]
[tex] =\tt 8x + 12 + 3x = 3 + 31[/tex]
[tex] = \tt11x + 12 = 34[/tex]
[tex] = \tt11x = 34 - 12[/tex]
[tex] = \tt11x = 22[/tex]
[tex] =\tt x = \frac{22}{11} [/tex]
[tex]\hookrightarrow\color{plum}\tt x = 2[/tex]
Thus, the value of x = 2
Let us check whether or not we have found out the correct value of x, by placing 2 in the place of x :
[tex] =\tt 8 \times 2 + 12 = - 3 \times 2 + 3 + 31[/tex]
[tex] = \tt16 + 12 = - 6 + 34[/tex]
[tex] = \tt28 = 28[/tex]
Since the Left Hand Side and the Right Hand Side of the equation are equivalent, we can conclude that we have found out the correct value of x.
▪︎Therefore, the value of x = 2