how d i get an equation from a graph with a line and a slope but the slope is not given

Adding on to Justin, once you get the slope, substitute any set of coordinates into the equation (y=mx+b, where m is slope and b is the intercept) to find the value of the intercept. Equation done!