You should know how to do this. If you have trouble. here is a site that may help. If you don't understand, post again but tell us what you don't understand.
Na: 1s^2, 2s^2, 2p^6, 3s^1 or,
Na: [Ne] 3s^1
Sr: 1s^2, 2s^2, 2p^6, 3s^2, 3p^6, 4s^2, 3d^10, 4p^6, 5s^2 or,
Sr: [Kr] 5s^2
P: 1s^2, 2s^2, 2p^6, 3s^2, 3p^3 or,
P: [Ne] 3s^2, 3p^3