How to analyze supply and demand