How to use public transport in Baku

The area of Baku is about 285 square kilometers. And it is rapidly growing. The official population is more than 2 million. But unofficially it is more than 4 million. The traffic jam in Baku starts early morning from 8:30 to 9:30 am.