The interior angle of a regular polygon is five times the size of its exterior…