A regular polygon of n sides has each exterior angle to 45o. Find the value…