Look at the picture.

We know: The sum of measures of interior angles in the triangle is equal 180°.
Therefore:

When we add up the Interior Angle and Exterior Angle we get a straight line 180°. They are "Supplementary Angles".

Answer: The measure of an exterior angle of a regular oktagon is equal 45°.