The functions are .
To find .
(Substitute g(2) = 5)
(Substitute g(4) = 3)
(Substitute f(1) = 2)
(Substitute f(3) = 4)
(Substitute f(5) = 4)
and .