We know that the number's opposite is 5. In this context, the opposite means the negative of the given number. Since the number's opposite is 5, the number itself must be -5. This is consistent with the second piece of information, since the absolute value of a number is its distance to 0 and the absolute value of -5 is 5.