The function $g$ has domain ${\left[2,10\right)}$, and the function $G$ has domain ${\left(0,12\right]}$. What is the domain of the function $g + G$?