To explain more simple;
If demand is housing, you will build houses.
If demand is civic building, you get to build a civic building.
You need atleast THREE scafholds combined to build a civic building.
You need enough ROOM to build a civic building.
You can only have ONE of each type, unless - Your graveyard is full, or you're building a workshop.