Let the domains of the functions $ f(x) = \log_4 \log_3 \log_7 (8 - \log_2(x^2 + 4x + 5)) $ and $ g(x) = \sin^{-1} \left( \frac{7x + 10}{x - 2} \right)$ be $ (\alpha, \beta) $ and $ [\gamma, \delta] $, respectively. Then $ \alpha^2 + \beta^2 + \gamma^2 + \delta^2 $ is equal to: