If the product of -3 and the opposite of a number is decreased by 7, the result is 1 greater than the number, what is the number?