A linear equation is given by:
y = mx + b;
where y, x are variables, m is the slope of the line and b is the y intercept.
Let y represent the total monthly charges for x amount of class.
From the graph, the line passes through point (0,20) and (2, 40). Hence, the equation of the line is:
[tex]y-y_1=\frac{y_2-y_1}{x_2-x_1} (x-x_1)\\\\y-20=\frac{40-20}{2-0} (x-0)\\\\y-20=2x\\\\y=2x+20[/tex]
Hence the equation for the line in slope-intercept form is y = 2x + 20
Find out more at: https://brainly.com/question/2037828