Basically you need to identify two things:

1) What values of x make the expression inside the absolute value sign positive?

2) What values of x make it negative?

The first problem is simple, but we have to take into account that the domain is .

Does this make sense? Can you figure out the second one like this?