There are 4 quantum numbers that can be used to describe the space of highest probability an electron resides in. First quantum number is the principal quantum number- n , states the energy level. Second quantum number states the angular momentum quantum number - l, states the subshell and the shape of the orbital values of l for n energy shells are from 0 to n-1 third is magnetic quantum number - m, which tells the specific orbital. fourth is spin quantum number - s - gives the spin of the electron in the orbital
here we are asked to find l for 3p1 n = 3 and values of l are 0,1 and 2 for p orbitals , l = 1 therefore second orbital for 3p¹ is 1.