Math Help - Please Solve appropriate substitution

2. Substitute $u=x+y.$
$y \left( x \right) =-x+1/2\,\pi$