Answer:
In order to find out the equation of liner function first of all u need to find the slope of it (a) then put it in general form of liner functions, afterwards put desire point of x,y graph in equation to find the b.
form of liner function : y= ax+b
x<1 =>> -3x + 2
x ≥ 1 =>> x+1