The equation of a line in the slope-intercept form is:

By comparison with the given line:

We can see that m is 3. This value is the slope of the line.
A line perpendicular to it will have a slope:

Thus, the slope of a line perpendicular to y = 3x is:
