how to find how many degrees in a pentagon

The total interior angle of any polygon is

total=(n-2)180
The pentagon has n=5

Now the value of each interior angle in a regular pentagon will be the total/5