Spring 2018, problem 58

Let $a$ and $b$ be two real numbers and let $M(a,b)=\max\left \{ 3a^{2}+2b; 3b^{2}+2a\right \}$. Find the values of $a$ and $b$ for which $M(a,b)$ is minimal.