Answer
See the graph (for question a).
Work Step by Step
a) Graph $x \lt -5$ using a dashed line. Use $(0, 0)$ as a test point.
$x \lt -5$
$0 \lt -5$
Shade on the side of the line that contains $(0, 0)$.
b) Graph $x \leq -2$ using a solid line. Use $(0, 0)$ as a test point.
$x \leq -2$
$0 \leq -2$
Shade on the side of the line that does not contain $(0, 0)$.