Question 2The units digit of $n^3+3n^2+3n$ is $4$, where $n$ is a positive integer. Find the units digit of $31n^2+n+2021$.