Answer
Please see the work below.
Work Step by Step
We know that 2p orbitals overlap along their axes and form one $\sigma_{2p}$ bonding orbital and one $\sigma_{2p^\star}$ anti-bonding orbital. The sideways overlap results into $\pi_{2p}$ and $\pi_{2p^\star}$ molecular orbitals.