Economics homework help

if n = 6andfor h =2 the result must be 15for h=3, the result must be 32for h=4, the result must be 48can you help me to find the right formula based on that information?for example:for 2<=h<=n applies h^2+2n...............