So I will assume you can plug in the numbers to obtain the solution for problem a. That being said, let's consider part b.
Since we're looking at the Force (F) with respect to the distance to the distance (r), let's take $\frac{dF}{dr}$. Do you understand why this is the derivative we want?
$r$ will be the variable in our problem since we are given $G, m_1,$ and $m_2$ and for the scope of this problem those will not change. So we will treat them as constants to take the derivative.
Performing the derivative, we obtain the following: $$\frac{dF}{dr} = Gm_1m_2\left(\frac{d}{dr}\frac{1}{r^2}\right)$$ This step utilizes the constant multiple rule of derivatives. We can then apply the power rule of derivatives to obtain the answer: $$\frac{dF}{dr} = \frac{-2Gm_1m_2}{r^3}$$
You should then be able to plug your constants and value for $r$ into the derivative formula to obtain an answer for part b.