how does P have n generators?

20 Views Asked by At

enter image description here

enter image description here

This is from Page 101 of Rotman's book on homological algebra. I am not sure for the proof of ii, why there are as many generators of P as basis elements? Any help would be appreciated! Thank you!