Step-by-step explanation:
If x > 1 in the first one, it can be 2, 3, 4 etc. Knowing this, we'd get |2 (or any other number) - 1|, and since the answer is not negative, we can write this without absolute value brackets. Your first answer is x - 1. I can't see your second requirement; please comment back so I can explain the second half.