I have calculated the Hessian matrix for such a function, which turns out to be,
H$f(x)$ = \begin{bmatrix}-2y&3-2x-2y\\3-2x-2y&-2x\end{bmatrix}
How can one prove that such a function reaches a maximum? Is there a way to prove that it is negative definite or negtaive semi-definite at this point?
Thank you.

Hint: there are four critical points to consider. The Hessian is negative definite for one of them.