This question was asked in Misc 6

q=1-p but here you have written that p= 1-q

Simmi Kaur's image