Answer:
If y> or y>=, (>= means greater than or equal to), then you shade up. If y< or y<=, (<= means less than or equal to), then you shade down. I remember this by up: greater (because when something is bigger, it's higher) and down: less (because if it's smaller, it's lower). I hope that helps.