Try playing around with the example. I feel everything should be clear then.
Cityhub - stores 1 X resource
Unlock buildling - produces 1 X resource per turn.
Mutually exclusive building 1: Costs 1 X resource, and builds in 1 turn. reduces production by 1 X per turn, also removes 1 X storage
Mutually exclusive building 2: Costs 1 X resource, and builds in 1 turn. reduces production by 1 X per turn, also removes 1 X storage
You probably also want to make the mutually exclusive buildings not appear unless you actually have the Unlock building, see the first reply in this thread.