0

Which is the correct phrase – “Think to go” or “think of going”?

For example:

a) I am thinking to go to Jaipur OR I am thinking of going to Jaipur.
b) Sudhir is thinking to buy a car OR Sudhir is thinking of buying a car.