Depends what information you are given, but the equation of a straight line can be written as y = m*x + c where m is the slope and c is the y-intercept (i.e. the value of y when x = 0).
Depends what information you are given, but the equation of a straight line can be written as y = m*x + c where m is the slope and c is the y-intercept (i.e. the value of y when x = 0).