Pyramidal n-gon

The base of a pyramid has n edges. What is the difference between the number of edges the pyramid has and the number of faces the pyramid has?
Exploring and noticing Working systematically Conjecturing and generalising Visualising and representing Reasoning, convincing and proving
Being curious Being resourceful Being resilient Being collaborative

Problem



The base of a pyramid has $n$ edges. In terms of $n$, what is the difference between the number of edges of the pyramid and the number of faces?

If you liked this problem, here is an NRICH task which challenges you to use similar mathematical ideas.