Right option is (c) one NH3
The best explanation: Phthalic acid on reaction with NH3 forms ammonium phthalate, which on heating loses two H2O molecules, one from each COONH4 group, to form phthalamide. This on further strong heating loses one NH3 molecule to form phthalimide, which is an imide derivative of phthalic anhydride.