Answer:
3 or 3/1
Explanation
the equation for finding the slope when given two coordinate pairs is (y₂ - y₁)/(x₂ - x₁), aka change in y over change in x.
pick one of your coordinate pairs to be y₂ and x₂. it doesn't matter which coordinate pair you choose. the remaining coordinate pair will be your y₁ and x₁.
for this example, i'll use the coordinate pair (7, 2) as my y₂ and x₂ and (1, 4) as my y₁ and x₁.
first, substitute the x-value and y-value from the first coordinate pair.
(y₂ - y₁)/(x₂ - x₁) ⇒ (7 - y₁)/(2 - x₂)
then substitute the y-value and x-value from the remaining coordinate pair.
(7 - y₁)/(2 - x₂) ⇒ (7 - 4)/(2 - 1)
subtract 7 - 4.
(7 - 4)/(2 - 1) ⇒ (3)/(2 - 1)
subtract 2 - 1.
(3)/(2 - 1) ⇒ (3)/(1) or 3/1
simplify.
3/1 ⇒ 3
i hope this helps! have a great day <3