slope formula : [tex]\bold{ \sf \dfrac{y_2-y_1}{x_2-x_1}}[/tex]
a. coordinates : (3,12) and (4,16)
[tex]\sf \rightarrow \dfrac{16-12}{4-3}[/tex]
[tex]\sf \rightarrow \dfrac{4}{1}[/tex]
[tex]\sf \rightarrow 4[/tex]
b. coordinates : (1,4) and (3,12)
[tex]\sf \rightarrow \dfrac{12-4}{3-1}[/tex]
[tex]\sf \rightarrow \dfrac{8}{2}[/tex]
[tex]\sf \rightarrow 4[/tex]
⇒ A. Yes. Both slopes are equal to 4