B use distributive property
If the number on the right of the number you're trying to round is greater than 5, round it up. If the number on the right of the number you're trying to round is less than 5, round down.
So you're trying to round to the nearest whole number, look on the number on the right, it's bigger than 5, it's a 7. Therefore, round the whole number up so it would be 7.
Some symbols are missing. I'm assuming you meant to put in a horseshoe symbol like so

If so, then the contrapositive of that would be

which is the final answer.
The tilde sign

means "not" so writing

means "not q" which is the complete opposite of q.