There are two conditions to be made,
I) Both functions must have a common point at
II) Their derivatives have to be equal at that point.
So both functions must have a point at (0,4).
The function becomes,
(At x = 0),
Derivatives have to be equal.. So,