Functional Forms for Labour Supply and Commodity Demands with and without Quantity Restrictions