Here the line passes through (0,0) and (1,3).
First we need to find the slope , and for that we need to use the following formula
On substituting the values from the point, we will get
Now we will use slope intercept form, which is
Where m is the slope and b is the y intercept
And on substituting the values of x and y from the point (1,3) and slope, m = 3, we will get
b =0
Substituting the values of m and b in the slope intercept form, we will get