# How do you find the equation of a line given the point and slope (0, 0) m = 2?

The equation of a straight line is $f \left(x\right) = m x + b$
We know from the question is that $m = 2$, so we only need to find out the value of $b$. But we know that $f \left(0\right) = 0$ and $f \left(0\right) = 2 \cdot 0 + b$, so $0 = 2 \cdot 0 + b$, and then $b = 0$. The equation of the line is then $f \left(x\right) = 2 x$