The scale factor, k, is the ratio of the radius of circle f to the radius of circle d:
k = rf / rd
The radius of circle d is given, rd = 3. You can find the radius of circle f using the circumference info:
C = 2π·rf
24π = 2π·rf
Solve for rf then use the values of rd and rf to get the scale factor k.