Hi usman_liaquat,
what you first need is some relation or graph between the air temperature and the amount of water vapour it can contain. I wouldn't be surprised if that were the chart in the referenced book.
When you have that relation or graph, invest time in meditating it. Apparently you missed that part of the story.