This question was from my class test. I would like to know how to solve it.
Thank you for your help.

This question was from my class test. I would like to know how to solve it.
Thank you for your help.

Try $\varphi=u^-$; if you are unfamiliar with this notation, it means $\max(-u,0)$.