Sure. I'll refer to these "modules" as "absolute values".
The key thing to remember is that, for instance,
In other words, if the number inside the lines is negative, it becomes positive, but if it's positive, it stays positive. So each of these is two problems in one.
Your first problem is a trick question; an absolute value cannot be negative.
Your second problem, , can be solved. If is positive, then its absolute value remains x+4, so we have:
However, if x+4 is negative, then its absolute value will become positive. This means that it is multiplied by -1. So we have
Thus the two solutions for the second problem are and .