It is known that the image of linear function y = KX + B passes through points (- 1, - 5) and intersects with the image of positive scale function y = half x at points (2, a) and (1) to find a The area of the triangle formed by the image of these two functions and the x-axis

It is known that the image of linear function y = KX + B passes through points (- 1, - 5) and intersects with the image of positive scale function y = half x at points (2, a) and (1) to find a The area of the triangle formed by the image of these two functions and the x-axis

a=1/2*2=1
-5=-k+b
1=2k+b
k=2
b=-3
y=2x-3