The given equation can be rewritten as -5+x = -12, by solving the paraenthesis
Now , this can be easily solved for x by transposing -5 to the right side, so that
x = -7
***