Coffee is draining from a conical filter into a cylindrical coffeepot at the rate of 10 in^3/min

Coffee is draining from a conical filter into a cylindrical coffeepot at the rate of 10 in3/min.
a. How fast is the level in the pot rising when the coffee in the cone is 5 in. deep?
b. How fast is the level in the cone falling then?