use deductive reasoning to write a formula for the perimeter P of a regular polygon with n sides
for each side is S