Those little lines are called absolute value lines, which represent a number's absolute (or positive value.) It's just like any other equation, but it will help you later in the solution.
3x+4=-3+7
First, simplify your problem.
Since you have absolute value signs, your new problem is:
3x+4=3+7
Simplify it and you'll get
3x+4=10
To isolate the x, subtract 4 on both sides, which leaves you with:
3x=6
Next, divide both numbers by 3.
This leaves you with...
x=2
Check your answer and you'll find that this is the correct solution.
I hope I helped!