You can
put this solution on YOUR website!The formula for finding the interior angles of a regular polygon is:

, where n is the number of sides.
The exterior angle is found by:

.
If we replace I with the formula for interior angles into this equation we get:

.
We know E = 40 from the problem statement, so