Question 1Let $x,y$ be real numbers satisfying $$x-3\sqrt{x+1}=3\sqrt{y+2}-y.$$ Determine the maximum and minimum of $P=x+y$.