first off, let's get the equation of each line, now, let's notice they're lines, thus we can just use two points from each and the point-slope form to get it, so let's do so, Check the picture below.

![\begin{array}ll\cline{1-1}\textit{point-slope form}\\\cline{1-1}\\y-y_1=m(x-x_1)\\\\\cline{1-1}\end{array}\implies y-\stackrel{y_1}{0}=\stackrel{m}{-2}(x-\stackrel{x_1}{(-3)})\\\\\\y=-2(x+3)\implies \blacktriangleright y = -2x-6 \blacktriangleleft\\\\[-0.35em]\rule{34em}{0.25pt}](https://img.qammunity.org/2022/formulas/mathematics/high-school/wv3d76e32s5woatyvulo2enh50qm6k2mq5.png)


now, if we look at the first line, it has a hole when x = -1, however is going upwards to the left otherwise, so we can say the equation includes values to the left of x = -1.
the second equation has a hole when x = 2, so we can say that the equation includes values from x = +2 onwards.
![f(x) = \begin{cases}-2x-6&,~~ x < -1\\[1em]-\cfrac{3x}{2}&,~~x>2\end{cases}](https://img.qammunity.org/2022/formulas/mathematics/high-school/lh5043myarunjw8xlm1xsdgtoo2rmnl3sb.png)