The function y = (1-2m) x + M-1 is known. When m takes what value, the function is a positive proportional function? When m takes what value, the function is a linear function?

The function y = (1-2m) x + M-1 is known. When m takes what value, the function is a positive proportional function? When m takes what value, the function is a linear function?

Positive proportional function requires constant b = 0, so M-1 = 0, M = 1. In this case, K ≠ 0
When k = 1-2m ≠ 0, i.e. m ≠ 1 / 2, the function is a linear function