Check the picture below.
so to get the EQUATion of each lines, we'll use those points you see in the picture for each, now we're only getting their "equation" only just yet, then we'll do the inequality part.
for the blue line


for the red line


now, the dashed line for the red one, means the borderline is not included so whatever "y" is, is either > or <.
the solid line for the blue line means, the borderline is included, so whatever "y" is, is ⩾ or ⩽.
now, what area do we shaded, let's deal with the red one first.
well, do usually a true/false region check, so we pick a point on either side of the line, hmmmm for simplicity let's pick the origin, (0,0), which is below the red line, that means x = 0 and y = 0

so the sign that will make that statement true can only possible by "<", meaning that "0 is less than 1", that means that equation is

now let's deal with the blue line.
same gig, we'll do a true/false region check, hmm let's pick for the sake of simplicity and slacking the same point, (0,0) which is above the blue line

so only sign that makes that true is "⩾" for the blue line, because "0 is indeed greater or equal than -5", so we get

now, bear in mind that we could have pick some other point, on either side, and the issue is, to make it a true or false statement by using either inequality, for example if we end up with two values such as -9 [ ] -1, well, -9 is lesser than -1, so it can only be -9 < -1 or -9 ⩽ -1 to make it true, now if we want to make that statement false, we simply do -9 > -1 or such, and that part is "no shaded", because is false, -9 is not greater than -1.