To start you off:

By using similar triangles it is easy to see that r/h = 2/4 where r is the radius at height h.

Use this to write the volume of the cone as a function as h (instead of r and h)

Then differentiate, and substitute in the information given.