If n cakes are sold at Rs p each, profit =n(p−180)−9000. A profit of at least Rs 6000 needs n(p−180)≥15000.
(i) "Possible" means it happens for some allowed n. Since p must exceed 180, n(p−180) is largest at n=120. So it is possible exactly when
120(p−180)≥15000⟹p−180≥125⟹p≥305
The least price is Rs 305 (selling all 120 cakes then gives exactly Rs 6000 profit).
(ii) With p=350: 170n−9000≥6000, so 170n≥15000 and n≥171500≈88.2. With the cap, 89≤n≤120, which is 120−89+1= 32 different numbers of cakes.