(To solve for a variable, you have to isolate that variable onto one side.)
Firstly, multiply both sides by 2: [tex]2D=fk[/tex]
Next, divide both sides by k, and your answer will be [tex]\frac{2D}{k}=f[/tex]