Find the number of sides of a regular polygon whose interior angle is twice the…