Polynomial (linear regression)

I saw a Linkedin post with someone explaining why this is considered a linear relationship when you have X22 like below:

Y=B0+B1X1+B2X22,

and the question is how is it linear if there is the the quadratic term.

Code