-- Replace the 'undefined' with your function definition h :: Double -> Double -> Double h x y = undefined g :: Double -> Double g x = undefined