We ant to find a linear function that has a x-intercept -2 and a y-intercept -2/3. Then, this function must contain the points (-2,0) and (0,-2/3).
For any line passing through two points (a,b) and (c,d), its slope is given by:

Therefore, the slope M of the function we are trying to find is: