The equation is
where d is the total number of degrees and c is number of the sides of the convex polygon.
Write the equation,
in slope - intercept form or
where m is the slope and b is the y - intercept.
Apply distributive property:
.

.
The slope of
is 180 and its y - intercept is
.
The slope
and y - intercept
.