Ok so now since you have shared your clumsy resource (honestly I was expecting something better), now lets see what happened actually in the past.
According to the Partition plan, the areas directly under British control were supposed to be divided into India and Pakistan, according to the majority population. Areas of Muslim majority went to Pakistan, Hindu and sikh to Indian Union.
The princely states, whereas were exempted from this. It was upto them, whether they choose to acceed to India or Pakistan, or even remain Independent. Most of the princely states chose to acceed to eithe India and Pakistan, with the exception of the Princely state of Jammu and Kashmir, which was a muslim majority state, with a Sikh as the ruler. So naturally, a question comes in mind, why a Princely state, wherein muslim are in majority wouldn't merge with a Muslim country?
The reason was Maharaja, who was a despotic ruler hated by the masses. According to India's policy the people of the princely state are to decide the future and not the Maharaja. This happened in case of Junaghad and Hyderabad when the Maharajas of both the states had signed accession with Pakistan, but due to the revolt by the local populace against the Maharaja and his decision, the decision was changed and in case of Junaghad a plebiscite was held.
But India's stated policy changed in Kashmir, when the Maharaja of J&K asked India to sign a stand still agreement, India rejected it. The IOA signed by the Maharaja is a fraudulent document and even if it is taken into consideration has to been seen along with the letter of Maharaja that he wrote to Mountbatten after the signing of IOA.
Here is the letter.
http://www.jammu-kashmir.com/documents/harisingh47.html
The letter states that the accession is conditional and the final future of the state shall be decided by the people of Kashmir.
Mountbatten wrote to the Maharaja and affirmed that position stating, “the final fate of the state shall be decided by the people.”
https://www.mtholyoke.edu/acad/intrel/kasmount.htm
Mountbatten's conditional acceptance of accession.
This is why many believe in Pakistan that the IOA signed by the Maharaja is a fraudulent/bogus document and even if it is taken into consideration has to been seen along with the letter of Maharaja that he wrote to Mountbatten after the signing of IOA. And Mountbatten response to the Maharaja.
Now does it make sense what happened back than or I totally lost you?