The functions are .
To find .
(Substitute g(1) = 0)
(Substitute g(3) = 1)
(Substitute f(1) = 1)
(Substitute f(0) = 3)
and .