hello!
In order to find the value of x, we should add 6 to both sides:-
-6+x=-4
x=-4+6
x=2
Hence, the value of x is 2.
note:-
Hope everything is clear; if you need any explanation/clarification, kindly let me know, and I'll comment and/or edit my answer :)