We know that µ=gI in (µN/hbar unit), so if we know both the spin I and the magnetic moment µ, we can obtain g=µ/I.
a) for the ground state, µ = -0.59485, I = 1/2 so g = -1.1897
for the first excited state, µ = -0.766, I = 5/2 so g = -0.3064
b) As the spin of the electron is 1/2, we immediately obtain g = 2
c) Knowing I = 1/2 for the neutron, the magnetic moment is the product of I and g, which yields µ = -1.913.