Since the farmer can move only one object at a time, and has to move him or herself back and forth, it should be easy to see that with $n$ objects left on the left side of the river, and with the farmer on the right, it takes at least $2n$ moves to complete. If the farmer is on the left, it will take at least $2n-1$ moves
So, in terms of your defined variables, we have as a lower bound for the cost:
$$h(n)=2(1-FX)+2(1-HN)+2(1-GR)+FM-1$$