Suppose that r varies directly with s and inversely with t, and r=2 when s=3 and t=12. What is the value of r when s=5 and t=4?

I already know the answer but I'd like to know how to find it.