What is the formula for finding a y-intersect and slope? i need help thankyou

The general formula for a straight line is
y = mx + b
where m is the slope and b is the y intercept.