I will explain each and everyone on of the variables In the equation y=mx+b which is used to determine a line's slope. In the equation y=mx+b, the x is the independent variable and the y is the dependent variable. This means that to get the y, the y needs to know what x is. The y depends on the x, but the x does not depend on the y; so x is the independent variable. B is the y intercept. A y intercept is where a line passes through a point in which the dependent variable is 0. The M is the slope. The slope is the angle and direction the line is pointing from left to right. 
      Let's say you are buying pizzas. The cost for one pizza is $10. This is the m. Let's say you want to donate a $1 to red cross and put it in the donation box. This is the b. Now the equation looks like this Y(Dependent Variable)=$10(Slope) * X (Independent Variable) + 1 (Y Intercept). All you have to do now is plug in the number of pizzas you buy. Let's say you bought 10 pizzas. Plug it in for X. Now the equation is Y=10*10+1. Now, you just need to solve. The cost for the pizzas and donation together is $101. This is an example of how Y=MX+B works.