The correct option is C y – 3x = 0
The equation of a line with slope m and passing through the point (x1, y1) is given by
y−y1=m×(x−x1)
Given, slope of the line is 3 and it passes through origin i.e., (0, 0).
⇒y−0=3×(x−0)
Therefore the equation of the line will be y=3x or y−3x=0