You need to solve

First step is to solve the multiplication in parentheses by applying the distributive propperty of multiplications, that is, multiply each term held between them by 5:

Next "pass" -40 to the other side of the equation by performing the inverse operation to both of its sides

Finally divide both sides of the equation by 10 to determine the value of x

The vlaue of x is 6