When a function is symmetric with respect to the y axis, it means that the function is even: [tex]f(-x)=f(x),\forall x\in\mathbb{R}[/tex]
We can check easily that the following function verify the above property:
[tex]f(x)=\vert x\vert\\f(x)=\vert x\vert+3\\f(x)=\vert x\vert+6[/tex]