If you need to writing it in slope intercept form it’ll be : w = −4/3m+24
If you are looking for the x and y intercepts it will be: m (which will be the x intercept in this case) = (18,0) and w (which will be the y intercept) = (0,24)
I hope this helps