check the answer in the solution part.
[tex]Solution:\ f(x)=-6x-3.\ when\ x=0.\ f(x)=-3[/tex]
[tex]h(x)=2\ cos(x+\pi)-1\ when\ x=0.h(x)=-3\\ So\ we\ can\ know\ \left|-3\right|=\left|-3\right|\ so\\ the\ two\ functions\ has\ the\ same\\ y-intercepts.[/tex]
I hope this helps you
:)