Question 2Determine the maximum value of $\dfrac{1+\cos x}{\sin x+\cos x+2}$, where $x$ ranges over all real numbers.