What would be the equation for this line? 80 60 40 20 time in minutes 2 3 4 5 6 7 8 9 X distance in miles

the equation of the line is given as follows,
first we take points on this line
A(2,20)
and
B (4,40)
so, the equation of the line is,
[tex]y-20=\frac{40-20}{4-2}(x-2)[/tex][tex]\begin{gathered} y-20=\frac{20}{2}(x-2) \\ y-20=10x-20 \\ y=10x \end{gathered}[/tex]thus, the equation of the line is
y = 10x