Answer is
Part 1) y = 3x -5
Part 2) y = 2x + 7
Step by step
Part 1 - they gave you slope of 3 and y intercept of -5
Your equation set up is y= mx + b
M is slope and b is y intercept so
y = 3x - 5
Part 2 - they give you (-1, 5) and slope (m) 2
Your formula is y - y1 = m (x - x1)
y - 5 = 2 (x - -1)
Distribute
y - 5 = 2x + 2
Add 5 to both sides to solve for y
y -5 +5 = 2x +2 +5
Combine
y = 2x + 7 is your answer