Write a function that represents the relationship between X and y shown in the graph below

==============================================================
Explanation:
Select any two points from the diagonal line. I'll pick (0,-10) and (2,-4).
Use these points in the slope formula
m = (y2 - y1)/(x2 - x1)
m = (-4 - (-10))/(2 - 0)
m = (-4 + 10)/(2 - 0)
m = 6/2
m = 3
The slope is 3.
The y intercept is b = -10 since this is the location where the diagonal line crosses the vertical y axis.
The values m = 3 and b = -10 have us go from y = mx+b to y = 3x-10