Answer:
The equation of line M in slope intercept form is 
The equation of line M in standard form is
Step-by-step explanation:
step 1
Find the slope of line M
The formula to calculate the slope between two points is equal to

we have the points
(2,4) and (0,1)
substitute



step 2
Find the equation of the line M in point slope form

we have


substitute

----> equation in point slope form
step 3
Find the equation of line M in slope intercept form

Isolate the variable y in the equation of the line in point slope form

Adds 1 both sides

step 4
Find the equation of the line M in standard form

where
A is a positive integer
B and C are integers
we have

Multiply by 2 both sides

---> equation in standard form