please help me with this!!!!!

Answer:
B
Step-by-step explanation:
The line on the left has a negative slope of - 1 and a y- intercept at 2
The line has a closed circle at x = 1, thus
- x + 2 for x ≤ 1
The line on the right has a positive slope of 1 and a projected y- intercept at 1
The start of the line has an open circle at x = 1 indicating it cannot equal 1, thus
x + 1 for x > 1
The definition for the function is B