This is confusing very confusing for no reason

Answer:
I'm pretty sure it's 31
Step-by-step explanation:
perimeter you add all the sides