Here is what I have done:
Mass Earth = volume time (row) which is density
so M = 4/3 pi r^3 times row
so F= -GMm all over R^2 sub Mass Earth for big m (Question why do I sub for big not little m)
and get
f= -(4/3piG(row))mR
this has the form f = -kx so k = 4/3 piG(row) m
and T = 2pi times square root of m over k sub for k and get 2 pi times square root of 3pi all over row times G.
My question is how did my friend get that answer for the period and what do I do next?
If you are wondering how to solve differential equations like this for yourself, the best way is to simply guess. We want a function whose second derivative is equal to a negative multiple of itself. What can you think of? There are only a few things that can satisfy such an equation. Sine and cosine, and exponential functions of imaginary numbers, which actually turn out to be equivalent. For example: