how do you write an equation for a trend line?

Find the slope and the y intercept!