It's straight forward that the higher the price of petrol is, the fewer people would choose to resort to public traffic service instead of driving their own cars, which is good for the relief of both the traffic jam and the pollution problems. Those car drivers perhaps have to take a bus or a taxi, maybe even ride a bicycle. However, for people whose workplaces are very distant from their houses, they may not be able to turn to bus or bike, which would make them definitely late for work. In cases like that, rising the price of petrol is not as efficient as you think.
There are many other ways to lighten the traffic jam and pollution problems. For example, increasing the price of cars. It will directly decrease the amount of cars rather than only declining the frequence of driving the cars, which is all the more efficient. What's more, we could limit the number of cars which customers can buy in a year, which has been happening in some cities of China, where you have to wait for a probably long time to buy a new car.
And the government should also provide some other methods for commute, say, cheaper bus tickets, or rent-free bikes. Perhaps encouraging people to work at home is a smart idea, too. Employees could save both the time and the money for commute and use the time on work, which could rise the efficiency and meanwhile solve the problem of traffic and pollution.

