Correct. Use the joint variation equation to find k.
Use this value for k to find the interest earned on $5,000 for 3 years: