Hello, thank you for taking the time to post your question!
We’re trying to get the equation in the form y = mx + b, where “m” is the slope and “b” is the y-intercept.
We’re given the value of m = 3 directly, so I would use the point to find the corresponding value of the y-intercept
2 = 3(1) + b
2 = 3 + b
-1 = b
Meaning that the equation of the line is y = 3x - 1
I hope that helps you get moving in a better direction on this type of question! Feel free to reach out if you have any additional questions beyond that :)