Solve for h f=1/4(g+h-k)