Solution of Equations involving absolute value functions