First, we need to find an equation which connects all the variables in this problem. From your description and the figure, it is easy to see that at any given time the volume of the water in the conical filter plus the volume of water in the cup is 10 in^3 (assume that it takes no time for the water to drip from the filter to the cup). Mathematically, we have the equation:

Also we are interested in the variables and , so it is better to rewrite the third variable in terms of or . By the properties of similar figures, it is easy to see that . Plug it into the above equation, we have:

or

Now differentiate both sides with respect to time , we have:

We have the relations between and