solving an absolute value equation with two solutions