In general for a sine wave $\sin{\omega t}$ the period is $T=|\frac{2\pi}{\omega}|.$ You can easily check this. If you have an even power of sine, see that now it is always positive, so the period is twice as before. For an odd power of sine, the period just remains $T=|\frac{2\pi}{\omega}|$, because it is just scaled vertically. So the period of $f(x)$ is just $T=|\frac{2\pi}{4}|=\frac{\pi}{2}$
It is easy to see that for $\sin{\frac x2}$ we have $T=4\pi$, and for $\sin{\frac x3}$ we have $T=6\pi$, so the question is what is the period of the sum of these functions ($g(x)$). In general if you have a sum of periodic functions, the total period will be the least common multiple, because this represents the minimum value for wich all of the functions cycled. Some (the ones with smaller periods) will have cycled more than others, but at the lcm, all functions will be reseted, ready for a fresh start.
Therefore, the period of $g(x)$ is $12\pi$.