When solving -7y > 161 your symbol will be flipped when you divide by -7 and the number will be negative. Normally you would want to have a negative variable
when solving a inequality.
In 7y > -161 the symbol will not be flipped and the number will be negative.
The difference between both equations is if y is less than or greater.