\(\left(y-3\right)\left(y+3\right)\left(y^2+9\right)-\left(y^2+2\right)\left(y^2-2\right)\)
\(=\left[\left(y-3\right)\left(y+3\right)\right]\left(y^2+9\right)-\left[\left(y^2+2\right)\left(y^2-2\right)\right]\)
\(=\left(y^2-9\right)\left(y^2+9\right)-\left(y^4-4\right)\)
\(=\left(y^4-81\right)-\left(y^4-4\right)\)
\(=y^4-81-y^4+4\)
\(=-81+4\)
\(=-77\)