The sum of the numbers on each side of the pentagon is the same. What is X?

Need clarification of the rules. Can we use the same number more than once,

or are we limited to placing 0, 4, 5, 8, and 9 in the appropriate empty spaces?

I assume it is 2

6 and 7 are both in the vertical middle so they don't count.

1+3=2+2