<h3>hello!</h3>
We are given the line's slope and the line's y-intercept (the point where the line touches the y-axis)
It's easier to write the equation in Slope-Intercept Form, which looks like so:-
where m -> slope of the line & b -> y-intercept
Instead of m, you should plug in 6:-
y=6x+b
Instead of b, you should plug in 2:-
y=6x+2 ✓
<h3>note:-</h3>
Hope everything is clear; if you need any explanation/clarification, kindly let me know, and I will comment and/or edit my answer :)