A Wooden bookcase flatpack can be made at a workbench (Wooden workbench or better) in the workshop of a player-owned house. This requires 4 Construction, uses 4 planks and 4 nails, and gives 115 experience. The flatpack can then be used on the bookcase space hotspot in the Parlour, Quest Hall, or Study, while in building mode. This requires no Construction level and gives no experience.
The cost of making and selling a Wooden bookcase flatpack from scratch gives a profit of: -2,170. This assumes the nails did not break, and steel nails (highest nail available at sawmill) were used.
After completing the hard Fremennik Tasks, they can also be traded to Advisor Ghrim in exchange for 78 coins being added to your kingdom's coffers in Miscellania. See Flatpack: Miscellania reselling for details.