The equation of a line in slope-intercept form, is:
![y=mx+b](https://img.qammunity.org/2023/formulas/mathematics/high-school/smsb8cbft03lwblmi49nf2l6jby2ofxzws.png)
Where the coefficient of x, m, is the slope of the line, and the constant term b is the y-intercept.
By comparing this equation with the given one:
![y=3x+5](https://img.qammunity.org/2023/formulas/mathematics/college/5y6sk3l6g3ntq2crp9tmaj8cgq28nb26h0.png)
notice that the coefficient of x is 3, which is the slope of the line.
Therefore, the slope of the line is 3.