To obtain the rule that defines the function given, we will follow the steps below:
For the first function
Step 1:
Obtain the coordinates of the line on the left-hand side of the graph
The coordinates are: (-1,4) and (-2,3)
Step 2: Get the equation of the line

=>

Hence the equation of the line given is

Step 3: Get the equation of the second line on the graph

Hence, the equation of the line is

Therefore, the rule that defines the function is:
